How old are you? Is it necessary to go to school right now, or could you put it off for a year and instead work and travel??
Sometimes we become so petrified that we can't think. It is maybe a good idea to take a break from school, till you have things figured out.
You say you don't know what to study... have you ever heard of the Myers-Briggs Personality Assessment Test?
Basically, you answer a series of multiple choice questions and your personality type is determined, plus careers you'd enjoy and be good at are identified.
If you're interested, just google it. If you want to take the test for free, you can go here to do a similar test for free:
Free Jung Personality Test (similar to MBTI / Myers Briggs)
You essentially write down your score and percentages and the 4 letters you're given, then you google the 4 letters. The reason you keep track of your percentages is because you might have 47 % for "I" (introverted) and 53 % "E" (extroverted), in which case you can look up either introverted or extroverted, for example.
When answering the multiple choice questions (there are about 60 in the above test example), just answer the first thing that pops into your mind; in other words, don't overthink it or give answers you think you "should" give. Just be honest with yourself.