Missed period last month

So last month I was supposed to get my period at the end of the month but instead I only got some spotting that was all! But yesterday my boobs started to hurt and feel sore and today I woke up to this huge discharge! What is happening?? Thank you