Have a lot of bloating and pain in my right side under my ribs, ribs?

Bloating. Anything ranging from esophageal reflux, dyspepsia, gall stones or heart disease are possible. Your medical history would be vital to decide.