Do you have two DVD drives installed on your computer and you're having problems with both of them ?
You can't have one DVD drive and have both problems, unless your problem is different - you can't read or burn any CDs.
If you have used the prpblem drive(s) a lot, the laser lens(es) may be "dirty". Try using a laser lens cleaner CD in the drive. If you don't have one, you should have one. They are available at most places that sell CDs and DVDs, and even some "dollar" stores have them for a buck or two.
If your only DVD drive, or one of your DVD drives, can't read or burn any CDs, or can't read or burn any DVDs, that indicates the drive is malfunctioning - that's a hardware problem that cannot be fixed - you must replace the drive. I'm assuming your drive model is capable of reading and burning both CDs and DVDs , of course
You can't format a burnable disk in an an optical drive the same way as you format other things, e.g. a hard drive partition, unless it's a CD-RAM or DVD-RAM disk and your drive model supports reading those types of disks, or unless you use specific burning software such as Nero's InCD for re-writable disks. (InCD allows you to use your rewritable disc like a big floppy disk. Copy files onto your disc using drag and drop or save them to the disc from other applications.)
If you had the upper and/or lower filters problem, it's likely the DVD drive would not work at all in Windows for doing anything.