Cramping but not on period

I ended my period 2 days ago but I'm still getting subtle cramps that feel like menstrual cramps, does anyone know why this is happening?