I have trouble reading programming books and doing and understanding their example code. I have trouble understanding advanced math and even basic math concepts. I have trouble to learn new things on my own. I am not self-directed. I am trying to be but I cannot. Every time I try to pay attention to these difficult subjects my head feels like it will explode with migraine pain and my mouth feels dry and my eyes feel like a thousand needles are in them. I have difficulty concentrating or paying attention to what is on my computer screen. Sometimes the symptoms vary. Like one time i was reading and my left eye keeps twitching involuntarily. I am prone to depression and I get anxious and panic easily. I am not very social. I have tried Pomodoro and meditation. They don't seem to work. Any suggestions?
Understand the basic terms and concepts
In order to learn advanced concepts you need to be well versed in the basic concepts. Advanced ideas are complex because they are built upon many other simpler ideas. Learning an advanced topic means understanding not only the basic ideas but how these ideas are related to one another. If you don't understand the basic ideas you wont understand why the relationships between the ideas are important. It's these relationships that mean everything.
Be Aware of your ego
Sure it would be great to be recognized as an advanced expert on any topic, but you have to admit, if you are struggling then you are not an expert YET. Put your ego aside, step back and review the earlier concepts. Do you know what all the terms mean in your texts? If not, step back even further until you reach a level where you are comfortable with EXACTLY what all the terms and concepts are.
Break it up into small chunks
One thing I like to do is collect small victories. In any session if I read one chapter, solve a small problem come up with one idea then I have moved my work forward by that much. I can walk away with a clean mind and return to the work at another time.
Practice the concepts / do your homework.
Once you have been introduced to the ideas, you have to live and breathe them. If you are learning to program, write the code. If you are learning music, practice your instruments. If you are learning physics practice experiments. You have to use your hands, share your ideas with others, witness the subject out in the field. Make the subject come alive.
Anything worth doing is worth enjoying with passion
Time is scarce. A measly 18 waking hours a day! If you don't enjoy it, drop it and find something else.
A few ideas: