Periodish

OK so this is odd my period came 8 days early lasted 5 days stopped came back for a few hours stopped now I have a creamy brown discharge what would cause this ?