You might have to replace the screen, but first try rebooting, checking for debris, and updating the graphics driver with a second monitor This article explains the possible ways to fix a laptop's ...
On Windows 10 and 11, you can use these steps to fix a second monitor not detected on your PC, and here's how.