If you ever feel your heart is heavy and constrained, listen to this great verse. Allāh Taʿālā said addressing His Prophet ṣallallāhu ʿalayhi wasallam:
And We know that your heart feels distressed for what they say. So, proclaim the purity, and glory of your Lord and be among those who prostrate [to Him]. — [Qurʾān 15:97-98]
So, the treatment for sorrow, and heavy hearts is exalting Allāh with praise and performing ṣalāh.
As it was informed that the Prophet ṣallallāhu ʿalayhi wasallam: “Whenever anything distressed the Prophet ṣallallāhu ʿalayhi wasallam, he used to pray.” In another narration, “he hastened to pray.”
When emergency arose, when he felt sad about something or upset, directly he would return and hasten towards Allāh by offering prayers.
Who else would respond to the desperate? Who else would expand and relieve your heart? Who else would ease your matters and save you from sorrow? It is only Him, Allāh, all praise be to Him.