Working out makes me want to barf 😷

So I don't work out a ton, 2-3 days a week,  but my body is used to what I do, I'm just barely pregnant and I went to my normal class and I couldn't do the whole thing without almost throwing up.... Will that get better? I feel like I'm feeling this way because I'm just barely pregnant, any advice?