I'm sorry to hear that you're feeling unwell and I hope that it resolves itself quickly for you.
If it's a very painful cramp around your chest and rib area, one of the causes might be what I think is called costochondritis - which is an inflammation of the cartilage joining your ribs to the breastbone. I have a perpetual soreness in this area and often wake in the night wondering if I'm having a heart attack as a change in position can really cause discomfort.
But clearly if you're concerned about it, the only person that can help you is a doctor, so a consultation with your GP will be the only way to get a proper answer.