HELP! I DONT KNOW WHAT HAPPENING

TerriLee
Iv been on birth control for over a year now. About two weeks ago for the first time I started seeing brown goo in my underwear and I started cramping all the time for 3 weeks straight. Also having sex is painful. Please help. I just want to know if this is normal or if I really should go to a doctor.