It's not a big deal. They hook you hook up so they can record your brain waves while you sleep to see if you have apnea, which is pretty serious because you stop breathing sometimes a lot. If you do, they'll prescribe a CPAP, an apparatus to use at night which will cure the problem and you will sleep so much better. I've done it several times - a bit uncomfortable but really not at all painful.