Neither of those medications are prescribed for anxiety or depression but both have a generally good effect on mood because of their effect on brain centers. As long as you need them for an appropriate medical condition, you are find, but be concerned about long term use and dosage.