Now that you've finally got a pet, you need to take care of it. When a pet's health runs out, it's gone. No second chances. If all of your pets die, that's the end for you.
To keep your pets healthy, you'll want to sleep in a bed at an inn as often as you can manage. And make sure to run away from enemies if you're not strong enough or healthy enough to defeat them.