spotting

Yesterday when I went to the bathroom I was spotting light pinkish blood only when I wipe I can see it anybody know what it could be? I've been having cramps also I'm 3 days away from my period