It depends on how effective the medication is. A doctor will usually prescribe an antidepressant for a period of at least six months and then re-evaluate your symptoms.