There are no quick cures. If you have symptomology get help sooner than later. What kind if help?(see an expensive psychology/psychiatrist for help. What help--I don't know?)
Schizophrenia and bipolar are More closely related to genes if a parent is affiliated. Anxiety and depression are not so closely related to genes.(No stats given)
If anxiety arises in your twenties you probally had it as a kid.(Not in my case.)
If you do have a mental disorder in your twenties most of you will get better with time.(I found this to be true, but it so seriously disrupts your current life, you might spend the next decade, or more rebuilding the mess. Personally, I feel if a person becomes afflicted all treatment should be made freely available(paid by government), student loans should be forgiven immediately, along with any other shinanigans(within reason) you got yourself into while sick. If you know someone who's suffering--reach out, or the very minimal don't take advantage of that vulnerable person. My sister took advantage of me when I was at my worst. She now wonders why I don't call.)