What if your cycle is 28 days one month and 31 the mext or something like that

Last month AF came on 14th
this month not til the 21st

So what happens when your cycle isnt regular ? Can you fix it?