Irregular periods

For about 6 months now I've been getting irregular periods. Some cycles it comes less than 19 day and lasts 3 days, the next time around 20 days same thing the next one 28 days later and lasted 6 days then 23 days and 3 days and so on. I put it off and didn't worry about it and my period cramps,headaches and mood during my period is me getting really depressed, now I'm getting worried should I go to the doctors and say something or just leave it.