You go to an attorney that handles this and have them draw up the papers then a court date is given and then the judge passes the writ. Be sure this is what you want to do. Once its done its done. You can have the papers drawn up so that you can still visit and see the child on a regular basis.. Think about what you want.