SSD or HDD?
You do not defrag SSD's. HDD's can and should be defragged when necessary.
You can ignore fragmentation but it slows down your computer as files are broken into many little pieces (fragments) that end up scattered all around the disk platters. Your system has to spend more time and resources finding, collecting, and assembling any given file that may be needed.
The situation gets worse as the drive fills up and it is harder and harder to find an open area big enough to keep a file all together.
Inefficient.
Defragging (again for HDD) is easily done. For example:]
https://support.microsoft.com/en-us/help/4026701/windows-defragment-your-windows-10-pc
Look for and find a few other similar links and tutorials about the process and how to defragment. Just to ensure that you are comfortable with and knowledgeable about the why's, the how's, and the risks.
Full back up is always recommended.
And do some "house-cleaning" before defragging to delete old, unneeded data files, temp files, and unused applications.
CCleaner (free tool and very good) will help with such things. Avoid registry cleaners.
One more comment: Be sure that it is the "system" is reporting the problem and not some third party application or tool that just wants to have you purchase a fix of some sort.