When would you go in or is this worth going in for?

So since about 5 weeks I've had nausea then it turned into all day nausea and throwing up. For a week or so I haven't been able to keep anything down not even liquids. I spend most of my time laying down or in bed because I feel weak and terrible while up and about. I've tried different kinds or drinks but everything makes me sick. I have a toddler and I feel like I cannot be the mom I want to be with him because I'm always so sick. Would the doctor give me anything to rehydrate me?