either use reincarnate (if you can accept that it will get a differen't body, and your dm wants to make a table for your companion)

or get a friendly cleric to use raise dead, both work fine on animals.