Period or discharge?

Daisy

For the last 5 days I have had brown thick discharge. More when I have sex or wake up in the morning. Not due for period for 2 more weeks. Had a laparoscopy 2 weeks ago. Period or discharge?