You are most likely referring to a provision of the CARES Act that allowed employers to defer the deposit and payment of the employer’s share of Social Security taxes. Those deferrals must then be repaid – with at least 50% of the balance due by 12/31/21 and the remaining balance due by 12/31/22.
ERTC credits are NOT a deferral. They are dollar-for-dollar credits against wages you’ve paid. Not taxes you’ve paid, but actual wages.
These credits can offset future tax contributions or you can receive a refund check – it’s your choice.
And you will NOT have to re-pay these funds (unless, of course, you don’t provide adequate documentation in the course of an audit).