If you think you've been suffering from depression you MUST go see a psychologist and as soon as possible. Many people, including me, would be very glad to help you with this question. I however cannot see how we are to answer this question without being a qualified psychologist having done a proper examination of the circumstances surrounding your life. It isn't shameful to go see a specialist of the mind, on the contrary. To shallowly answer your question, I think, as the person mentioned above, that you should inform your department of law of this and ask for a deferral. It is certainly not the end of your studies, but I suggest that before you embark onto the study of law you must first deal with your personal problems and free yourself of any encumbrances which could later become an obstacle and which might become, with time, growingly difficult to overcome.
Good Luck Man and truly wish you the best, you'll surely make it!!