In the name of Allah the most gracious and merciful. Everything in this world is temporary, everything has an end. Allah had said in Quran, “Every soul will taste death. Then to Us will you be returned” (Surah Ali Imran:185)
Give a copy of the Qur’an to someone. Each time one reads from it, you gain. Donate a wheelchair to a hospital. Each time a sick person uses it, you gain. Participate in building a masjid. Place the watercooler in a public place. Plant a tree. You gain whenever a person or animal sits in its shade or eats from it. And the easiest of all, share this message with people. Even if one applies any of the above, you gain.
These are several ways from which you will earn if you died.