Period came 10 days early

Can someone please explain why a period can come 10 days early, I'm freaking out. I don't know what caused it