You need to file a petition for modification of custody with the court. This process involves serving the other parent, attending a hearing and presenting your case.