Be prepared for the rain (chóu móu): Before it rains, you should repair the doors and windows of your house first, which means that you must be prepared for everything in advance.
(Translation): You must prepare in advance, like repairing the house before it rains, and don't "make things last minute", like digging a well when you are thirsty.