Spotting in the middle of my period

Okay so I been on the pill this is a different one then the one I was taking before I had my son. Well my last time I took my pill was Wenesday has intercourse yesterday & now today I'm like spotting & little cramping. Not sure what's going on.