Period change

My period only lasted one day..it’s never done that. It was a really heavy flow. What can cause it to last one day?