It can happen to any of us and it does.
No one chooses to be mentally ill; we have no control over that.
What we do have control over is how we manage it and ourselves.
Learn all you can about your condition and choose wisely how to proceed.
Remember that knowledge is power and healthy power builds healthy self-esteem.