Do you pay for penalties when the calculation was wrong

The calculation for Social  security tax was wrong