Bleeding/Spotting first trimester

Anybody else dealt with bleeding/spotting in the first trimester and everything was okay with the pregnancy? I started having brown discharge when I wiped and after a vaginal ultrasound it was red and brown blood when I wiped.