When using medication for men with insomnia and excessive dreaming, it is necessary to combine the type of insomnia and prescribe the right medicine. Common medicines include: Zhu Sha An Shen Pill, Liver Laxative An Shen Pill, Pai Zi Nian Xin Pill, etc. 1. Zhu Sha An Shen Pill: It is effective in clearing the heart and nourishing the blood, calming the mind (using medicines of heavy sedative nature to stabilize the mind), and can effectively alleviate the symptoms of chest tightness, palpitations (accelerated heartbeat, often accompanied by panic) and restlessness, as well as insomnia and excessive dreaming. Adverse effects are not known. Do not use Zhu Sha An Shen Wan if you are pregnant, or if your spleen and stomach are weak and cold. 2. Diarrhea of the Liver and Tranquilization of the Mind Pill: This medicine can clear the liver and diarrhea of fire (removing liver fire), and tranquilize the mind (stabilizing the mind with ores and shellfish), which can help to alleviate insomnia and restlessness caused by hyperactivity of the liver and restlessness of the mind. Adverse effects are not known. Do not use Diarrhea of the Liver and Tranquilization of the Mind Pill for those with fever, deficiency and coldness in the spleen and stomach. 3. Cypress Nourishing Heart Pill: It has the effects of tonifying Qi, nourishing blood and tranquilizing the mind. It is used for the treatment of heart qi deficiency and coldness, palpitation and alarm, insomnia and dreaminess, and forgetfulness. Adverse effects are not clear. Avoid eating spicy food during the period of taking the medicine. After the appearance of discomfort should consult a doctor in time, under the guidance of the doctor to choose the drug treatment, not self-medication.