Missed my period for 3 months

I missed my period for 3 months and now I have slight spoting and a weird brownish jelly like discharge what is this?