I’m 5 weeks pregnant and I have a virus 😬 help!

My son (14 months) has some kind of stomach bug and I got it from him. I’ve been puking and have diarrhea. Will that hurt the baby? Should I call my dr. I haven’t had an appointment yet....