Not an uncommon problem.
Start by cleaning the Superdrive using a proprietary CD lens cleaner that uses tiny brushes.
If that didn't fix it try a SMC reset:
Resetting the SMC (System Management Controller) on Intel-based Macs:
Resetting your Mac's PRAM and NVRAM:
If that didn't fix it get an external DVD burner!