Stomach ulcer pregnant

I think I have a stomach ulcer and I'm 15 weeks pregnant. My stomach is super bloated I get a burning feeling in my stomach and it hurts so bad to move I feel like someone is stabbing me. My ride side hurts really bad too. It's going on 3 days so far and the first two days I threw up everything I ate not able to hold anything down. No fever. I been taking tums anything else I can take? I have a doctor app this week. But the pain hurts so bad I'm so bloated and to move around or walk hurts. Feels like a knawing  pain.