Pet Treats and XP Potions can be purchased from the in-game Shop.
This can be accessed by navigating to the slot screen and tapping on the coin bank in the top left. In the shop, scroll to the bottom to find great deals on pet supplies!
These items can also be earned periodically while playing the game. For more information, please read this article.