It’s hard to stop spam email entirely, but you can filter it, discard it, deliver it to the selected folder, etc.
How to Create a User-Level Email Filter?
1. Log in to your cPanel account.
2. In the Email section, click on the Email Filters Icon.

3. Under Filters by Users, you can see all of your existing email accounts. Click on Manage Filters next to the appropriate one.

4. Click on the Create a New Filter button.

5. Enter a name for the filter in the Filter Name text box.

6. In the filter rules, you can filter email with many options, and should you want to deal with emails that contain a word like Lottery or other words, then in the first list box select Body and select Contains in the second list box.
7. Under the Actions list, select Discard Message.
8. Now, Click on the Create Button.
