You have asked your question in the Cirrhosis of the liver community do you have liver cirrhosis?
If you have advanced liver disease you should check with your liver specialist (hepatologist) about any medication you are taking including over the counter.
Not a lot of people around here answering questions anymore but I’ll do my best.
I found this about Trazodone
“Trazodone (Includes trazodone) ↔ renal/liver disease
Moderate Potential Hazard, Moderate plausibility.
Applies to: Liver Disease, Renal Dysfunction
Trazodone undergoes metabolism in the liver. The metabolites, at least one of which is pharmacologically active, are excreted by the kidney. There are no data available concerning the pharmacokinetic disposition of trazodone or its metabolites in patients with renal and/or liver disease. Therapy with trazodone should be administered cautiously in patients with significantly impaired renal or hepatic function. Dosage adjustments may be necessary.”