Period came back after a couple hours!

Why? i was so excited, shaved and had sex. Then i wake up from a nap it's back on. What happen?