brown discharge

i have skipped my period for the last 4 months as i am on the pill. these past 3 days i have been having bad cramps, feeling nausea and having brown discharge. i’ve done some research and so many things are coming up. can anyone give me advice on what i can do?