Agreed with BYK. Take him to the vet.
Make sure he's not dehydrated and for my own piece of mind I'd probably just have him lick yogurt off my finger (just because I know it's good for tummies and I'd feel like I had to do something!).
Good luck I hope he's ok.