If you don't have the father's permission you will have to get a court order for the name change, and would typically have to convince the court that the name change is in the child's best interest. There will be a filing fee, and of course if you use a lawyer there would be lawyer fee.