It is always preferred that a person have a dental examination prior to whitening their teeth.  The examination allows the dentist to determine the health of your teeth, gums, and your entire mouth.  This can help in identifying possible causes of your discoloration and can also help ensure that all the teeth are healthy prior to whitening.  Teeth or gums that are not healthy can prevent the whitening procedure.