i think it likely that you have a mild depression with anxiety as a prominent feature. people who get depressed haven't done anything wrong, but we do note, from the physician side of the ledger, that depressed people tend to lose sleep, lose libido, lose interest in things that formerly made them happy, and tend to get to a point of hopelessness and helplessness.
there are many psychiatric diagnoses that have depression as a component so the above is offered in only the most general terms.
HERE IS A GOOD LINK FOR YOU TO READ.
the question about meds is a good one. you need to see a mental health professional and get a proper diagnosis. if, for instance, you were bipolar (manic depressive) instead of simple depressoin, the medicine choice would be absolutely critical and DANGEROUS if done wrong.
so yes, i think you would benefit from medicine AND you would benefit from speaking to a psychotherapist to LEARN how to control your symptoms and how to avoid bad thought habits which might contribute to your symptoms.
I am standing by if you have further questions.