2 periods in a month and spotting

This is the first time it happened to me but I got my period the 12th and again the 26th and just started spotting the 7th with cramps any ideas why