How do you fix a CD player in a car that keeps ejecting disks?
If you have never fixed any electronics, you probably don't. You are going to have to buy a new one. There's a chance that it's just a bad part, but the parts are probably not available. I have 25 years of electronics repair and I would just buy a new one.