What medication do you take for forgetfulness and dreaminess and memory loss?

Forgetfulness and dreamy memory loss can be treated with different medications according to different causes and symptoms, such as Gui Spleen Pill and Liu Wei Di Huang Pill, which are recommended to be taken under the guidance of a doctor.
Huisheng Pill is composed of Radix Codonopsis Pilosulae, Rhizoma Atractylodis Macrocephalae, Radix Astragali, Radix et Rhizoma Glycyrrhizae, Poria, Radix Polygoni Multiflori, Rhizoma Ziziphi, Radix Jujubae Fructus, Longan Flesh, Radix Angelicae Sinensis, Radix Magnoliae, Radix et Rhizoma Ziziphi, and Radix Jujubae Fructus, and it has the efficacy of benefiting the qi to strengthen the spleen (to regulate qi of the spleen and the stomach), nourishing the blood and tranquillizing the spirit (to stabilize the spirit and soothe the emotions through nourishing the blood).
Some patients may experience adverse reactions such as skin rash after use, and the contraindications are not clear.
Six-flavored Dihuang Pill is composed of ripened rhubarb, wine cornelian cherry, moutanpi, yam, poria, zedoary, with the effect of nourishing yin and tonifying the kidney, and is commonly used clinically for the treatment of dizziness and tinnitus, lumbar and knee soreness and tenderness (a feeling of soreness and weakness of the waist and knees), spermatorrhea and night sweating (sweating abnormally after going to sleep, and the sweating stops after waking up), etc. The contraindications of this drug are not clear. The contraindications of this drug are not clear, and should not be taken by patients with cold and fever.
It is recommended that patients with related symptoms should consult a doctor in time and be treated by a Chinese medicine practitioner after identification of the symptoms, and should not use the medicine on their own.