Side effects of antibiotics?

So I was on antibiotics for around two months. I had pretty bad side effects. Bloating, feeling faint, vomiting, constipation and diarrhea. I am off it for around a month and I still have side effects. Bloating, constipation, and stomach soreness. Does anyone have any tips to lessen the side effects?