See your doctor
Although random constipation
and bloating can happen without anything being wrong, sometimes they are an early sign of pathology in your colon
You should see a physician to see if further workup is necessary based on your age. Constipation itself will cause bloating and cramping. Poor evacuation, especially among women is a major cause of bloating and cramping.