The main course of parasomnia is typically mental health conditions such as anxiety, depression, and PTSD.