To be happy, control your attention.
Attention determines what will and will not be in our consciousness. It also controls other mental events like remembering, feeling, thinking, and making decisions.
Your thoughts, not your circumstances, determine your happiness. No matter what the external circumstances are, you can achieve happiness by changing the contents of your consciousness, i.e., your thoughts.
Learn to focus your attention on things that are meaningful to you and will bring you a better quality of life.
For example, if you want to be a musician, your full attention should be directed to all the things that will make you a great musician.
Beware of anything that distracts you and shifts your attention from meaningful things.
For example, visiting social media a few times a day can be a big distraction.