Gas and pregnancy - what can I take to get rid of gas

So I have terrible gas due to the fact that I was unable to eat for about a week or so and now I have no idea what to take in order to relieve myself of it. Do you ladies have any suggestions?