Heartburn with vomiting?

Is this a thing? I’ve had serious heartburn for a few days and my doctor recommended Zantac. I took one and 20 minutes later, up it came...

I haven’t had any morning sickness this time around and am 11 weeks along.