ppd meds....

I'm a first time mom so I'm clueless about everything at this point but I was wondering if ppd medication needs to be taken permanently or only for a period of time? I don't want to depend on meds but I do want to find help.