You can remember the meaning of 恶梦 with this easy mnemonic:
Sometimes I have evil (恶) dreams (梦) of demons and ghosts. These nightmares are so tiring.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.