You can use the createinstallmedia command in Terminal or the "Restore" function within Disk Utility to move the image onto an 8GB+ flash drive.
If your Mac is non-functional, you can use tools like BalenaEtcher or TransMac to burn the 10.7.5 ISO/DMG to a USB drive so it can be recognized by your Mac at startup. Installation Tips mac os x lion 107 5 iso download repack link
When downloading Mac OS X Lion 10.7.5, you might come across repackaged versions or links claiming to offer the ISO. Here are some tips: You can use the createinstallmedia command in Terminal