With joint preparation all my wife's medical expenses were applied to me. She had huge late filing penalties/interest. Can I Refile and opt for separate returns?

We had a net refund with joint preparation but all my wife’s medical expenses were applied to me and she had huge penalties and interest because we filed late. I want to Refile to split the medical credit and opt for separate return preparation." How do we do that?