I have been dealing with a lot of discomfort on my upper right side of the stomach, under the ribs. I wake up feeling normal, but shortly after having a bowel movement, or eating, the ache comes on. I tried two antibiotics, bactrim and cephalexin. Only Bactrim gets rid of my symptoms. I tried two courses: one for 10 days and one for 20 days of Bactrim DS taken twice a day, and both times I was symptom free for the durations of the treatment. But the symptoms come back soon after finishing the course. My doctor thinks I just have IBS as all my blood tests came back normal. But why does an antibiotic work if this is just IBS? I'm male, 30, 5'10" 140lbs, workout regularly, don't smoke or drink. The discomfort started 5 months ago after drinking a large protein shakes with blended cooked white rice in rice milk and lifting heavy weights. Other symptoms I have are small stool and mucous in stool all of which go away while on Bactrim.