Cramping on 4-5 DPO

Hi All,  i had cramps on yesterday night (4/5dpo) , the cramp lasted for atleast 4 hrs before i slept off, i was struggling to switch side due to the cramps, it was not too bad but definitely not mild to ignore. Anyone experienced this during the TWW and eventually got bfp?