Dogs sick

My baby has thrown up once every day for three days straight. It’s white and yellow so I didn’t think much of it... I figured he just ate something bad... but he’s been having diarrhea as well and will barely eat. I had to force feed him since he wasn’t even eating a cup a day for the past 3 days...so I think it’s a small stomach virus.

But at the same time idk if it’s actually a virus. I’m pregnant and having morning sickness so maybe he’s feeling what I’m feeling???? He was boarded for a week and it’s been a full week since he came home so could it just be from the boarding??? Or is it the actual virus? Idk

I want to save money so Is there any home remedies I can try? I’ll probably end up taking him to the vet if it continues cuz i don’t want my baby to be sick...