18 weeks & brown spotting. Should I worried?

I’m 18 weeks pregnant and I had brown spotting when I used the restroom. Should I call my doctor? Is this normal? This is my first pregnancy and I haven’t had any spotting at all. I’m freaking out a little