Gefahr erkannt, Gefahr gebannt. — Danger seen, danger banned. A danger that is recognized in time can be kept away.
den Finger auf die Wunde legen or den Finger in die Wunde legen — To put one’s finger on, or into, the wound. Duden: to point clearly to an ill.
den Kopf in den Sand stecken — To stick one’s head in the sand. Wiktionary: not to want to see a threatening danger, and so to ignore it. Its example: Man kann doch jetzt nicht den Kopf in den Sand stecken und so tun, als ob nichts Entscheidendes passiert wäre! We can’t stick our heads in the sand now and act as if nothing important had happened!