A stich in time saves nine.
This idiom is about dealing with a problem when it is small before it turns into a big one.
A stich is something that is sown, often as repair.
On a darker note, here's a song about wife beating and the importance and way of dealing with it.