Please take a deep breath. Piggies are more like little children and not like programmable robots. It is always a one step forward, two steps back progress. Pick up again on a lower and work up to it again; it should happen faster with each time you have to do it. Try to keep your own expectations on a more realistic level. Animals and small children do what they do and not necessarily what
you want them to. You have to adapt to them if you want to get them to a certain goal or as close to it as possible.
You will get there (mostly) but it is simply not as straight forward or predictable as you think with animals that run on prey animal instincts and have finer senses than you (with the exception of sight), so they can be spooked by things or sudden motions of yours that you wouldn't be even able to notice.