Help me

I'm 19 weeks and I think I ate something bad I can stop using the bathroom and I'm nervous about the baby I don't know what to do