Simple...
When u hatch ur pet and have it out it will constantly lose hp (1 hp per sec) u need to keep feeding it pet feed to heal the hp it has lost (each petfeed heals 2 hp)
for more information about pets and how to ressurect them go to this page:
http://flyff-wiki.gpotato.com/index.php/Pets