Using a non-finite verb form:
I'm sure it'll do you good if you admit that you made the mistake.
I'm sure it'll do you good if you admit making the mistake.
Using a non-finite verb form:
I'm sure it'll do you good if you admit that you made the mistake.
I'm sure it'll do you good if you admit making the mistake.