You need to talk with medical professionals, your family, and your university & tutors (both in terms of careers and health advice, but also relating to your degree - they may be able to make accommodations). It won't help to hide things away.

Your first priority has to be your health. I cannot tell you whether or not you should continue your degree, but I certainly don't think you should stop just so that you can do some course you can do any time - perhaps even this summer.