Trazodone
Trazodone is a serotonin antagonist and reuptake inhibitor. It blocks serotonin reuptake while also blocking certain serotonin, histamine and alpha-adrenergic receptors, and that receptor profile makes it markedly sedating. It is used for depression and for sleep problems, where the sedating property is the point.
It is taken with food, which reduces nausea and dizziness and smooths absorption, and at bedtime because drowsiness is the expected effect. That drowsiness can persist into the morning, so driving and other tasks needing alertness should wait until the effect is known. Blood pressure can fall, especially on standing after a dose or on getting up at night, so rising slowly matters. The drug can prolong the QT interval on the ECG, which is why existing heart-rhythm problems or other QT-prolonging medicines are relevant to mention.
See a doctor for fainting, palpitations or an irregular heartbeat, and for dizziness that does not settle. A prolonged or painful erection is a rare effect of this drug and needs urgent medical attention.
Reference information, not medical advice. Discuss any change with your doctor.