Brown spotting

Has anyone had a small amount of brown discharge when using the restroom? It’s happened to me twice. I’m 12 weeks pregnant