Unfortunately there are no non-surgical methods to close a piercing. Since skin covers the area inside the piercing, the only way to close or repair this is to cut the skin out and sew it shut. The good news is that this a very simple procedure that can be done in the office under local anesthesia. Cost can vary from $250 to $750/lobe.
Ointments will not close a hole. Removing the stud or earring and allowing the area to close up on its own would be step one but if it is a large hole, then surgery would be the only option.