please help me stop throwing up and shitting

Katie • 12/23/17 💙 currently TTC
I'm 13 weeks pregnant and I throw up a lot not ALL the time 5 days out of 7 and I have diarrhea very very bad diarrhea. I'm sick of it. It's 3 am and I just want to sleep but I have cramps that led me to go to the bathroom and then after I finished my business I threw up. It was a wonderful affair. So please do any of you ladies know anything that make my food stay down and be a solid! I've told my doc of this but she just tells me to stay hidrated and she sent me some pills for the throwing up but I don't really wanna be stuffed with pills. Please help me.