PP contractions

How long postpartum does your stomach cramp/contract? I had baby 1:39 AM this morning. The pain is awful!