Throwing up at night, 24 weeks !?

becky122
Recently the past couple of nights I eat dinner then 4-5 hours later lay down for bed and get very sick out of nowhere and throw up. Does anyone know why this could be happening? I do have a lot of heartburn but I didn't know you could throw up with that. I need some advice, thank you