Prevention rather than treatment may be the best approach to take with hearing loss.
A person can flush wax build-up out of the ear with ear syringes (available in drug stores) and warm water. One may need wax softeners (such as Cerumenex) if the wax is hard and impacted.
Take care when removing foreign bodies. Unless it is easily accessible, have your health care provider remove the object. Do not use sharp instruments to remove foreign bodies.