See if downloading and merging the exe and lnk (LNK) options in the tutorial below and restarting the computer may help. They will restore the default associations for these file extensions.
If you didn't set them to open with Notepad by mistake, then I would recommend to scan your system with Malwarebytes and Windows Defender Offline to help make sure that your system is malware free.