The inner feelings and conditions of every human being vary from time to time. Sometimes one feels very happy and excited while at other times one feels sad and unpleasant. This is part of life. This should not cause one to lose hope and become despondent.
Pondering over the blessings and favors of Allāh upon you will give you internal contentment and satisfaction. Think of the blessings allotted to you by Allāh Ta’ālāthat have not been granted to others. There are so many people who cannot see, hear, or talk. Imagine if Allāh did not bestow us with these faculties, how straitened life would become. Every time you drink a cold glass of water, know that there are people who are struggling to acquire a single sip. Thereafter praise Allāh for favoring you with such bounties. This will create the love of Allāh within your heart and you will feel content and satisfied. This is a prescription given by AllāhTa’ālā Himself to Nabī Sallallāhu A’laihi Wa Sallam in the Qurān. Almighty AllāhTa’ālā says:
(وَلَقَدْ نَعْلَمُ أَنَّكَ يَضِيقُ صَدْرُكَ بِمَا يَقُولُونَ () فَسَبِّحْ بِحَمْدِ رَبِّكَ وَكُنْ مِنَ السَّاجِدِينَ (سورة الحجر، رقم الاية 97-98
And We know that your heart feels distressed for what they say. So proclaim the purity and glory of your Rabb and be among those who prostrate.
(Qurān 15:97-98)
Consider taking out some time daily and sitting in seclusion for the Dhikr (remembrance of Allāh). On a daily basis, set a time wherein you recite the Kalimah Lā Ilāh Illallāh. Think of the might and grandeur of Allāh Ta’ālā while doing Dhikr. Have conviction in your heart that each time you recite the Kalimah Allāh Ta’ālā is filling your heart with divine light. Through the Dhikr of Allāh, Allāh Ta’ālā will give you contentment of heart. Allāh Ta’ālā says in the Qurān:
(أَلَا بِذِكْرِ اللَّهِ تَطْمَئِنُّ الْقُلُوبُ (سورة الرعد، رقم الاية 28
Behold! The hearts find peace through the remembrance of Allāh.
(Qurān 13:28)
Lastly, have confidence in yourself. Keep your spirits high. Involve yourself in those permissible activities that you enjoy.
We ask Allāh Ta’ālā to grant you happiness and success in both the worlds. Amīn.