woah - slow down there kiddo. Listen, from what you wrote your case seems pretty simple actually. It looks like the drugs given to kill the chlamydia also kiled the good bowel bacteria in your system which keeps the gas production in check.
there are several routes you can take. You can try a diet that excludes grains, sugars, milk sugars because this is what the bad bowle bacteria feed on so in effect - starve them. This diet is commonly reffered to a the specific carbohydrate diet and you can fiind lots of info on the web about it - in fact there is a forum here at curezone for it.
You can also begin a heavy probiotic regimine, I would highly recommend this in your case. It has to be good quality probiotic - Primal Defense is one as is Udos choice.
Also, seek help from either a naturopath or homeopath - Traditional MDs cure NOTHING - they only know how to supress symptoms and even at that they often fail.