Dentist appt for toddler

My son has a dentist appointment tomorrow and he is almost 2 years old. What will they be doing a appointment? How will they check for cavities? Do they just look or will they be doing an x-ray or something. What can I expect? 

And IF he has a cavity what will happen