1. Worship and remember Allah as much as you can and abstain from sins.
2. Remember that this life is temporary.
3. Always be grateful and satisfied.
4. Use patience as a remedy for disappointments/hardships.
5. Forgive others.
A Prayer Of Prophet Ibrahim (As)
Allahumma tawafanee wa anta radhin ‘anee.
ya Allah, cause me to die in such a state that You are pleased with me.
Ameen Thumma Ameen