From Longman Dictionary of Contemporary Englishmake hay (while the sun shines)make hay (while the sun shines)USE/CONSUMEto take the opportunity to do something now, because you may not be able to do it later → hay
Examples from the Corpus
make hay (while the sun shines)• The tourists won't be here forever, so we'd better make hay while the sun shines.