Back Pain from coughing

Patient: Hi, this morning I was putting my clothes on and had my arms in the air. I coughed in this position and felt a sharp pain around my back that caused me to fall to the bed in relief. I then struggled to get up from this. The pain is like my body is beeing squeezed. Is it just a muscle back spasm or is their risk to the spine, because I’m struggling to move . Thanks