Irregular cycle help?

So I started my period in September last year, and it's so irregular, like I'll get it once a month but sometimes my cycle is like 20 days and other times it's more like 40, why is this? And what can I do to help it become more regular?