There is no other method besides solving problem directly if you don't want to get in deep problem.
Unless you solve the problem as soon as it happended, you will make the problem worse.
Note that "happended" is not an English word.
But what if you don't realise the problem until well after it has occurred? Your original sentence implies that it's dangerous and futile to try and fix it. I think what you mean is that, given the choice of fixing a problem as soon as you notice it and fixing it some time later, it's best to solve the problem as soon as you notice it.
"You" don't make a problem worse by not fixing it immediately if you don't know about the problem and have no responsibility to know about problems occurring. It's possible that 'you' might be held accountable if you don't make an attempt to have a problem fixed when you first notice it.
I think I know what you're trying to say; but you're not saying it. There's too much context missing. What sort of problem is it? Why should you care? Why should you fix it? How is it your problem? How can you make it worse when it has nothing to do with you, and you simply ignore it?
They seem to be motivational sayings rather than truthful statements about fixing problems - statements like: "If you're not part of the solution, you're part of the problem." That is, general nonsenses that have some polemical value. Are they?