Spotting or at least I was

Margo
Okay so I got this pain in my lower right abdomen and it went away a hour later when I went to the restroom I was spotting what does that mean