its 5:30 & im up with cramps

y’all please help me... my cramps woke me up at 4:30 this morning and i cant go back to sleep they are damn near killing me.. i took ibuprofen but that’s not kicking in fast enough. for the future what’s the fastest way to get rid of cramps so i can sleep ! 😭😭😭😭😭