miscarriage?

i had my period about a 2 months ago. i thought i started my period yesterday because i was hurting real bad, never hurt that bad before and i was spotting. i just went to the bathroom because i was hurting horribly and this was on my pad. could this be a miscarriage or what?