Dentist problems..

I went to the dentist today and they said that I need fillings in my teeth. I have no idea what they are and if I'm ready. I don't want to look like an idiot and I don't want to be in pain. Does anyone know anything about these? Also will I get a retainer for it or anything? Thanks everyone 😊