Gas and bloating

I’m getting very painful gas and I’m so bloated I don’t even feel like eating. What can I do?😢