PS4 Slim ejecting disc randomly

My PS4 Slim randomly ejects disks randomly. It doesn’t even read the disk and ejects the disk instantly

Can anyone give a solution to the above problem.