It would helpful if you briefly posted what you've tried so no one wastes time giving solutions that you have tried.
You also need to post: the brand and exact model of the laptop, and what version of Windows is installed.
Have you tried using a restore point or restored an image when the devices were working?