Any ways to regulate period?

Kami
My cycle is usually about 42 days. But every now and then it gets longer and longer for no reason. Is there any way to regulate my period?