And even if you're young, if you find yourself waking up at night with your heart racing, excessive snoring, etc, get it checked out. I got a CPAP machine at 20, and it's hard to overstate the impact. You can even just straight up buy them these days and adjust the settings yourself, sometimes the insurance premium on the sleep study is as high as the cost of the machine.
There are online sites that will sell you one...basically the way I understand it is they will do a phone consult with a licensed physician. The perscription is required if you want your insurance to pay for it.
The cost is not insignifigant. Cost of the machine itself is around $1000, and then perhaps $150-200 in supplies every 3 months.