Sleeping on right side

I am 27 weeks and cannot sleep on my left side. I have a condition where my intestines are backwards, it should have killed me but they caught it in time. The problem is that the intestines are now stitched to my abdominal wall. It’s painful enough with my uterus growing and my intestines not moving but for some reason if I lay on my left side I get a sharp shooting pain so I can only sleep on my right side or propped up on my back. Am I harming my baby or putting him at risk? I made the mistake of googling it and now I have anxiety because I saw there was a study that said you are 2X more likely to cause stillbirth sleeping any other way other than your left side. Please no rude comments, I’m anxious enough already.