This medication is used for short-term treatment of various forms of depression and for chronic neuropathic pain (nerve pain) or to prevent migraine headaches. Your doctor may prescribe this medicine for other conditions as well.