In the admin panel, you need to enter words to be blocked from search. Magento does not have this feature by default, but if you search on Google, you can find modules that filter search terms as shown below.