Lots and lots of practice is the best thing! Bareback pads can be really good, but on a high withered horse you'd be better without as they can pull on the wither. Suede chaps are fantastic, give you loads of grip and make you much more secure.
The better your horse is working (i.e. lifting its back, listening to you, and with engaged hocks) the easier its gaits will be to sit. That also sorts the canter-trot transition. If you just let the horse trot, it will go straight onto its forehand and be really bouncy. If you get a correct, well prepared transition, it will go into an engaged trot, which is easy to sit.
Jumping/fast canter you need to lean forward for, it takes you onto your thighs more and off the horse's back a little.
Get comfortable and stable in each pace before moving on to the next, and remember that your legs act as weights to keep you on. If you tense and grip, your leg will move upwards, and you'll tip off to the side.