Install smartmontools package for your distro, if it's not already installed. Then
Check your disk's name with sudo lsblk. After that, replace your_disk with your disk's name (sda, nvme0n1 etc.) in the command below.
sudo smartctl -x /dev/your_disk
If the results say PASSED, you're probably good. You can also pass the output to an LLM by the way. At least they are good at these kind of things.