Back and neck pain are such common complaints among athletes and active people that they’ve become something most learn to just deal with after a while. Those aches and pains can be caused by a number of factors, but how many times have you blamed a bad back or neck day on “sleeping weird”?

You may actually be on to something.

We put a lot of stress on getting a good night’s sleep if you train hard and want to build muscle, but your sleeping positions matter as much as the quantity of shut-eye you get when it comes to staying injury-free.

It’s as simple as giving more consideration to the position you fall asleep in, according to physical therapist Vinh Pham, founder of Myodetox and director of recovery at ASYSTEM. The best sleeping position differs from person to person, but a bit of investigating and testing can help you find yours.

Pham is particularly popular with bodybuilders, athletes, and celebrities for his style of manual therapy, which accounts for the base level of strength that people in those groups tend to have and focuses on mobility. He updates 588k-plus followers on his personal Instagram, @vinnierehab, with daily tips and answers to common questions about pain and rehab.

Considering the amount of time most serious trainees spend in bed, it’s a wonder that many don’t get more granular about their strategies for sleep. With that in mind, we tapped Pham for the best sleeping positions, accessories, and stretches to help you go to bed and wake up pain-free.

These suggestions are all general, but they’re safe strategies to test and see what works for you over time.