Taking this medicine with other drugs that make you sleepy can worsen this effect. Ask your doctor before taking trazodone with a sleeping pill, narcotic pain medicine, muscle relaxer, or medicine for anxiety, depression, or seizures. Many drugs can interact with trazodone.