Drastic times call for drastic measures:
Meaning: When you are extremely desperate you need to take drastic actions.
#english-idioms