In between periods

Okay guys. This morning I woke up and I had a brownish-grayish discharge. I'm freaking out. Last night my stomach hurt a lot, then this morning I felt like I was having cramps. What is this???