Applying for SS benefits, found some years where my taxable earnings are 0 or very low compared to other years. How do I correct this?

Same employer (pastor at a church).  SS says it was coded wrong and I need to correct it with IRS. All FICA and SS taxes were paid and up to date.