Wiktionary
make hay while the sun shines
prov. (context idiomatic English) To act while an opportunity exists; to take action while a situation is favorable.