What can I do for stained teeth?

Stained teeth! I just left the dentist and they are telling me there is nothing I can do for the coffee stains in my teeth near the gum area. Any tips!?!?