In a nutshell
A proverb saying the basic answer to a contact play is a hane.
In detail
The proverb that when the opponent plays in contact with your stone, answering with a hane is usually good is called “answer a contact play with a hane.”
A hane blocks the opponent's path and makes it easier to take the initiative. It's one of the first proverbs beginners should learn.