Medications that have been shown to help in small studies of people with PLMD include: Melatonin. Clonazepam (Klonopin) Valproate.