Spotting

Help!
Okay, so yesterday I started spotting, figured it was just the start of my period the only difference was that it never got heavier than spotting and when I got out of a bath it is completely gone, why is that?