Miscarriage??? TRIGGER WARNING

I have a period every 3 months by my birth control. After my period finished I passed this along with some brown discharge. Any clue on what it could be? Miscarriage?