I need advice

Whenever I went to the bathroom I noticed stringy dark bloody discharge in my undies. Nothing there whenever I wiped and nothing since then. This was about 3 days ago. Today I have been so nauseous that I actually threw up!! And not just omg I should throw up but that mess came up no warning!!!! Lol gross I know. Should I test though??