You can visit the Healer in the Sacred Lands and pay for her to heal your pets.
Additionally, you can buy healing potions from shops to use, but those tend to be expensive and if your pet has low health, it will definitely be cheaper to just visit the healer.