Lungs hurt while pregnant??

I’m 17 weeks, I woke up at night to pee and my backside by my lungs, my lungs actually hurt. I thought it would go away but they’re still hurting today. It’s not back pain definitely it’s more on the inside. Anyone had this??