Ibs bloating

I've been losing weight recently and do felt great eating better. But suddenly I've been hit with a bad wave of stomach pain and bloating. Like I can't clench my stomach muscles at all without a sharp pain. Poking it is worse. And the bloating is insane. My stomach sticks out so much and as I said before I can't even suck it in without it being painful so I look fat all the time.

My meds haven't helped at all. I only take them when I have a bad episode of cramps and bloating but they usually help. I also haven't eaten any of my triggering foods like bread or cheese.

Any advice for getting through this flare up?