Undo Roth IRA contributions

Earlier this year, I contributed about $1500 to my IRA before I realized my salary plus bonuses will likely put this year’s gross income over $144k.

Should I withdraw the contributions? Should I just expect to be penalized when I file taxes in the spring? How much of a hit should I brace for?