You should not give up just because of your poor grades.
If you are depressed, seek help as it may help your grades of you treat your depression
with professional help. You can also seek counseling
to help you figure out what to do about your grades. If you have clinical depression then you should ask the school to allow you extra help because of your illness. They are legally required to help you.