Depending on the type of parasomnia, treatment can be medical or non-medical. Stress and anxiety that cause parasomnia can be managed with therapy. If necessary, medication can be prescribed. Changing the sleep environment, like the mattress, pillow, or bedding, can also help resolve some sleep issues.