3w after miscarriage

Getting sharp cramps 3w after miscarriage, been having them for about a week, anyone know what it could be caused by? I'm 13dpo