After you file

Yes, otherwise IRS will send you a letter along with the father claiming the child and then IRS will want you to Amend the return or provide proof that you can claim the child.

https://ttlc.intuit.com/replies/3288565