Period question

Why would a period last for 37 days??

Before this I didn’t have my period for 195 days..

any reason why this would be???