Hi,
I assume you mean that you cannot 'play' DVDs or CDs .
Does the tray power in and out? Is the DVD/CD disc rotating in the drive when inserted?
If so it may just be that the laser lens in the DVD/CD drive is dirty and needs to be cleaned.
Here is a link that shows to w to do it. It is not for your model but it should be close enough to guide you.
https://www.youtube.com/watch?v=wayZD49aw9c