You can remove all regular food, treats and don't give any table scraps. Feed him a diet of boiled chicken or boiled hamburger and rice ONLY.
When the diarrhea and vomiting subside, you can start to add his regular food back in.
If he has not been dewormed lately, you need to see the vet for a fecal exam.
Let me know if you still have questions.
If it's just some GI upset, it should be no longer than 48 hours.
If she stops eating and drinking, see the vet no matter what.