Pulled ab muscle 27 weeks?

Meghan

I been coughing for 4/5 days and it’s just calming down. All of a sudden I been getting these sharp bruise like pain upper right stomach of my belly button every time I cough now. Pulled muscle?? Anyone have this happen to them before? When not coughing the area just feels sore.