Are hernias painful?

Are hernias painful?