I was bending over from a sitting position and I got a stabbing pain in my stomach at the base of my right rib a week ago. I went to the doctor, but he said it was a pulled muscle. Today I was bending over again while sweeping and the same thing happened on the left side. Now I have pain on both sides. What is happening. I recently had a colonoscopy and endoscopy and all I had were a few polyps in the lower bowel. I did develop diverticulitis a few weeks after, but was treated and was feeling better for a while. Now this.