Coming off the pill and depression

This will be my 3rd month of the pill, I've had my period for the past two months on time. Last month 2 weeks before I was due on I got very depressed and it lasted until I got my period and it's happening again this month. Right now I'm extremely down and upset and have no reason why. Anyone had this?