Likely not an issue on your end. Or at least not a permanent issue.
If the problem re-occurs, becomes more frequent, or changes in some manner then more investigation will be necessary.
====
Now is a good time to familiarize yourself with some of Windows' built-in diagnostic tools:
Task Manager
Resource Monitor
Reliability History
Event Viewer
File History
====
Get a sense of what your system "looks like " when all is normal.
Do not panic if you see errors or other problems - those are and will be present on many systems. (Such errors are often used by scammers to scare people into granting remote access the the victims' computer to"fix the problem".
For the record: Microsoft/Windows does not call people to fix things.
Do not randomly start fixing things. Ensure that there is a specific and ongoing problem. Research real problems and do not give into the temptation to download some app or utility claiming to fix any given problem. Some of those "fixes" will show up no matter what problem you are addressing.
Know what all is launched at startup. How much disk space and memory you have. How much is being used.
Learn how to properly physically clean the computer. Likewise for software: that includes removing unused apps, temporary files, obsolete data....
Backup, backup, and backup.