Ask about nearby reservoirs or, failing that, the area's lowest point. Find out where that point is and take advantage of gravity. Gravity is a wonderful concept. After you know the lowest point, look at each green in detail. If you're on an older course, the greens probably slope from back to front because of drainage.
Greens nowadays have more humps and undulations than ever and are surrounded by more bunkers.
And the sand is the key. The drainage should be designed so that water runs past a bunker and not into the sand. Take that insight into account when you line up a putt. Inc. All other trademarks are the property of their respective owners.