Period for almost a month

I started taking the pill about two months ago. I’ve been on my period for nearly a month. Some days it’s just spotting and most days it’s extremely heavy bleeding. I don’t understand I though birth control was suppose to lighten my period up. Also, whenever I think it’s “done” I’ll have sex and the next day I’ll wake up with my period full force extremely heavy.