Certain pets have innate abilities when you tame them, these you can learn by using your pet until a notification pops up saying you've learnt the skill. You can then abandon that pet and go fetch your main pet and teach it the skill you've just learnt.
Try
http://www.goodintentionsguild.info/hunters.html for more info about pet skills.