Few more details would help us to provide a better response.
1. In which application are you facing this issue?
2. Do you face this issue in applications like WordPad, Notepad etc.,?
3. Did you make any software changes to the computer prior to this issue?
Let’s run System Maintenance by following the below steps and check.
1. In the Search option of the taskbar type "Troubleshooting" and click on it.
2. Locate “System and Security" and click on "Run Maintenance Task".
You may also install all the pending updates and check if it helps.
Updates are additions to software that can help prevent or fix problems, improve how your computer works, or enhance your computing experience.