Can I remove a contribution from my return?

I accidentally marked a voluntary contribution on my 2023 return, but I want to remove it before filing.  How do I remove it?