Sound advice thus far - so little to add except -
it does sound as though the pressure you are under is starting to affect your health badly, and staying and struggling is only going to make things worse.
I feel that in the back of your mnd, you worry that you will see yourself, and others will see you as a failure because this career move doesn;t suit you.
You are NOT a failure - it is simply that this is not the correct career path for you, and there is no failure in realising that, and changing direction.
Have a chat with your tutor about counselling - the drop-out rate of students is over one thirs - they will have seen this situation many many times, and will be able to help you change direction and do something that is going to make you happy.
Education is a wonderful things, but it's not life or death - your health is.
Act now, break this chain of misery, and you will start to get control of your life again.
Good luck!