Some food restores health, which includes a gold shop option. Alternatively, you can post in the forums, and users can feed your pet a treat, which will also restore health.
One of the cash shop foods restores energy. There's no gold shop alternative, but you can send your pet to your house to sleep and restore energy that way.