You should visit a dentist and get the dental x-ray done. cavities can be filled with dental filling material. there are different filling material like amalgam , composite. amalgam is silver in color where composite is tooth colored material. your dentist will suggest you whichever is best material for you. in case of deep cavity, root canal treatment should be performed.