Vomiting bug

My 5 year old has a vomiting bug he's been getting sick since 12 o clock yday all threw last night and once this morning woke up with a temp and has diareah to fingers crossed I don't get it I'm 18 weeks pregnant should I go to the doctor immediately or let it run its course