Bad cough and my side hurts super bad even the next day

Jazmine

I have a cold and i been coughing and i caught pain on the right side. This morning i have the same pain there. Did i pull something? Is this bad? Anyone has had this? Itslike stabbing pain but also mild cramps.