One of the most powerful ways to do so is to meditate on the ransom. That is what the apostle Paul did.
إِنَّ ٱلتَّأَمُّلَ فِي ٱلْفِدْيَةِ هُوَ وَسِيلَةٌ فَعَّالَةٌ جِدًّا لِلتَّغَلُّبِ عَلَى ٱلْأَفْكَارِ ٱلسَّلْبِيَّةِ .‏