Very gassy and having awful pains

I'm not on my period but I think I might be a little bit backed up. Is there a food or drink that will help things along?