Burning feeling after sex?

We started doing this new position sideways like in a sleeping cuddling position. Usually after it burns a little but today it was burning a lot. I searched it up and saw things like yeast infection, BV, STDS, etc. Am I overthinking or is it the position we've been doing? My legs do stay down so its not spread open, may be more reasonable why it's tight and burning. Thoughts?