So first trimester I had TERRIBLE gas pains. Like, so bad I thought about going to the hospital. I still get them sometimes, but they've eased up a lot. But usually once I let out the room-clearing gas, the pains immediately stopped. I'm not sure if it's the same as what you have, but that's what I found. Hope you feel better soon!