Oh dear, please do go and see your doctor or visit the hospital soon, especially since the cramping has been happening quite a few times a day, it is always better to be safe and get checked properly when you are 5 months pregnant. Your doctor is the best person to assess what is causing it and to make sure both you and baby are doing well. Semoga cepat dapat jawapan dan semuanya baik-baik saja, ya!