I tried trazodone and it worked incredibly well for sleeping but did nothing for my depression. In situations where sleep is urgently needed, in my case after months of sleep deprivation, it's a good medication. I stopped taking it because of the downsides. Personally I felt not really refreshed after sleeping with the medication and kept having really weird dreams, it made me feel sluggish at times and I also experienced some weight gain too. Keep in mind, however, that these were personal experiences and might differ per person, per dose, and what you take in combination with this medication