Irregular period

K
What can an irregular period mean? I've had my period since I was in 5th grade. Sometimes I skip my period for a couple of months on end, but when I do get them, they're fairly long (5-7 days) and are painful. What can having an irregular period mean?