When is bloating too bad?

I’m so bloated I feel like I’m going to die idk what’s wrong I pooped yesterday and let out a lot of gas but my stomach is rock hard and in a ton of pain just sitting on the toilet