For example with a hard drive not working just some of the time (that is a serious warning sign though).
There may be proactive actions you can take with a clicking hard drive in particular. This does not apply to solid state drives, but I expect it would work with all hard disk drive brands, for example Seagate and WD (Western Digital). Yes! This is one method that may allow you to recover files on your own, and it is free! Although I can’t make guarantees in your case. Could putting a Clicking Hard Drive in a Freezer Really Work?