How do I fix an excess contribution to ROTH IRA for my spouse?

In 2022 my wife contributed $7,000 to a ROTH IRA, but she only earned $6,000. How do I fix that?