Blood clot?

I'm 20 weeks pregnant and have been getting frequent nose bleeds, but today it was worse than usual then this came out! Has this ever happened to anyone else? I'm not sure what to do, but I'm a bit scared