Hi Mona,
The process is pretty straightforward, but make sure you will not need your computer for a while — it can take a few hours to reindex the whole hard drive, and if stopped, it will likely have to be restarted.
Here is a link to Apple’s how-to on reindexing your hard drive:
https://support.apple.com/en-us/HT201716
All the best,
Nelson