防患未萌

fáng huàn wèi méng

to prevent a disaster before the event (idiom); to nip sth in the bud

fáng

to protect

huàn

to suffer (from illness)

wèi

not yet

méng

(bound form) to sprout; to bud