@Dedeador Hi Dedeador, had this exact thing happen to me about 15 years ago. Main symptoms were terrible fatigue, headaches, insomnia, and digestive issues. Was basically subclinical hypothyroidism (that is, hypothyroidism that isn't bad enough to pass the clinical markers, so you have to treat it yourself, basically). In layman's terms, it just meant a lack of energy production, and/or excess stress. Am much better these days after years of research and experimentation. Some of what I do:
Nutrition: Eat real, normal foods in normal portions; avoid artificial and packaged. Liver, beef, eggs, chicken, collagen, milk, cheese, fruits, vegetables, potatoes, butter, coconut oil, EVOO as needed, salt, sugar as needed, etc. Use sugar to break a stress cycle as needed, then eat normal macro-nutrient portions (ie, carbs, fats, protein). Limit fat, but don't stress over it.
Stress: avoid stress as much as possible, esp. over-exercising (cardio, heavy lifting, sports for now). Physical, psychological, emotional stress will all drain energy. You mentioned just starting high school, which is a stress in itself. Find a definite career path and pursue that, which will be less stressful than school, as school often does not lead to a career or train you for adult life. Having a definite career path will stress you less about your future than trying to get good grades in school with no path for the future. Nothing stresses more in the adult life than financial trouble.
Grounding: research grounding (aka earthing), which appears to have a variety of health benefits, and can be entirely free. The idea is that you absorb the natural energy of the earth (negative ions, I think), which then essentially feed your bio-electric systems, thus producing energy and general healthfulness. I have done this for many years now, including sleeping grounded, and I recommend it. (If you want a book: Earthing, by Clint Ober)
Relaxation: I use techniques from Relax and Win, by Bud Winter. He created a relaxation program for fighter pilots in WWII, who were supremely stressed. Basically just controlling the breath and consciously relaxing the muscles, and holding the relaxed state. Recommended esp. before bed.
Sleep: I had to figure out any number of things for sleep, because it was such a problem for me. Very soft bed (mattress topper, although some like hard). Just the right room temperature (somewhat cold, in my case). No noise (for unavoidable noise, I use an air filter as a noise machine, and/or Mack's silicon putty earplugs). I need to eat before bed or I usually can't sleep, typically ice cream (some people can only sleep on empty stomach, though). I use cotton blankets and pillowcase to avoid possible problems with bio-electrical interference from unnatural fabrics (eg, polyester); more comfortable, IMO. Cotton, linen, wool are recommended. I sleep with bed inclined for improved circulation, although doesn't feel great for side sleepers (research Inclined Bed Therapy).
Sunlight: free energy from the sun. Pro-metabolic practices stopped my hair loss, and getting several hours of indirect sunlight per day was one of the most helpful things. Whether it is Vit D production and/or the absorption of healthful electro-magnetic energy from solar rays, highly recommended. Light in general is good (except blue light); darkness and low light will drain energy.
EMFs: I avoid electromagnetic frequencies as much as possible. Cell phone radiation, wi-fi router radiation, home electrical system wiring in the walls, things that are plugged in (lamps, TV, fan, etc.). I use Trifield TF2 EMF reader to sweep house for EMFs, and distance myself from them as much as I can. Could find out if you are near cell phone or radio towers (antennasearch.com in the US; don't know about Spain). Grounding is supposed to protect you from EMFs as well, so I have grounding wires set up at desk, couch, and bed (can buy pads and sheets, but more expensive).
Non-sedentary: the more sedentary, the less energy I have, unless I am specifically resting after doing something.
Community: good people are energizing. Solitude is good, too, but excessive solitude is draining and depressing. So are irritating and troublesome people...
Internet: living on the internet will drain you, physically and emotionally. Limit screentime, both for psychological reasons and bc of the blue light. Eye strain from screens will cause tension headaches. For screen time use, consider putting screen settings to a warmer tone, and/or using sunglasses/blue light blocking glasses.
Taken as a whole, these things have helped me tremendously. Went from sitting on a couch staring into space with fatigue, feeling like energy was imploding within me, to feeling mostly normal for my age (44), and getting back into playing tennis and lifting weights. Hope these things can help as a general overview. Don't know whether your problem is general or specific, but if it is a general low-energy problem, as it was for me, addressing it holistically like this should help. As you try things, you may be able to narrow down the problem.