mucus plug? something else??

Anna
i was using the bathroom and felt something like slip out of me and it was this?? it's thick and kinda sticky/slimy and long. what could this be? i'm freaking out but don't know if maybe i shouldn't be