Worried!

Alyssa
Im 24 weeks, haven't had morning sickness since like 16 or 17 weeks, been feeling fine. Woke up in the middle of the night tonight and threw up, didn't feel sick to my stomach just kept burping and coughing and then threw up. Not sure if something's wrong or maybe just something I ate. Should I be worried?