First make sure you've completed the entire chain quest to get your pet, then you simply open your spell book and either move the icon to your hotbar or useit from there, there's a feed pet icon, and you click it, then the piece of food in your inventory. That's it. Easy huh?