I can give you one reason why sometimes a period becomes irregular all of a sudden, is if you start work in a new place where there are a lot of women, or starting spending a large proportion of the day with someone new. One of the things that happens is that women in a group often find that their periods become synchronised, maybe one of the women has a stronger hormonal charge or something like a sort of "alpha female", and everyone else gets thrown off slightly by a couple of days each month, until all the girls in the group are more or less in synch.
I don't have an answer to your problem unfortunately (aside from bc pills as already suggested, where you can play with the dates a little by stopping or starting packets early), but it might be a reason why you became irregular?