advice ?

I started bleeding last Wednesday which was the 20th I usually start on the 28th. Thursday I started hurting in my upper part of my stomach which I was bleeding off and on then Friday morning it was unbearable cramp like pains off and on so I went to doctor checked me for uti and pregnancy by pee test and it was negative. Saturday I stopped bleeding which I usually bleed the full 8days. doctor told me she thinks I have an ulcer but she didn't do any test just really went by where my stomach was hurting. today I'm still cramping and my stomach is sore. opinions?