I am glad to hear that your mental health is under control now. What is your immigration history in Canada? Do you have a valid permit to enter Canada and remain in Canada while working/studying until you secure PR? What program are you applying for and have you looked at recent draws? Securing PR these days is quite difficult for most people except a few categories due to very high demand and limited quotas. Whether your mental health will lead to excessive medical demand issues depends on whether you have established a history or being able to work/studying full-time and have a period of not being hospitalized for mental health reasons.