Phrase to stop something immediately so that it does not become a worse problem
nip it in the bud
I think I'm catching that flu that's going around. I'm going to try to nip it in the bud with warm soup and some good rest.