Everyone gets depressed during some part of his life, it can be because of a death of a loved one, some financial issues or a break up. But some people are able to pass through the depression while other fall victim of it and had to live with it for months or even years.
The easiest way to avoid depression is to meet and spend time with those who are near to you and with whom you usually spend your memorable time. Just ask them for a weekend visit at a beach or just have a dinner or watch your favorite movie together.
Another thing which you should do when you are depressed is to remember your best days and the achievements which you have been through. Depression makes you think that you have done nothing good or great while listing you memorable days and achievements will give you confidence.
Hopefully these things will help you to get rid of depression.