Please please help!!!

kay
So for the past 3days I've had such bad gas pressure. I have been in the bathroom every 20 minutes in pain. My bedroom stinks like an outhouse. The gas stinks so bad I can't handle it. I have yet to sleep. Calling drs office in an hour but need help now!!!! I'm going number 2 so it isn't that. I'm freaking out. I tried a cheap brand of chewable gas x but it didn't help any. Oh and I have an ultrasound in 7 hours but can't stop passing gas. What do I do???? Thank you for any advice