How do I redo my tax return? It keeps being rejected but I’m unable to fix the issue.

My partner said he didn’t claim our daughter as we agreed so when I tried to complete my taxes it said I can’t use the same ssn as another child that has been claimed.