There’s a lot to that process.
I was named the father of a child from a woman I literally never met. She finally admitted in a deposition that she saw me in the newspaper and wanted a rich father.
The child support was easily resolved with DNA, but spent a crapload on lawyers getting my name off the birth certificate.
But if she had never admitted it, there’s a chance you’d have had to pay?