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 an Account Level/Global Email Filter?
Log into your cPanel account.
In the Email
section, click on the Global Email Filters
Click on the Create a New Filter
Enter a name for the filter in the Filter Name text box.
In the filter rules, you can filter email with many options, and should you want to deal with email, which contains a word like Lottery
or other words, then in the first list box select Body
and select Contains
in the second list box.
list select Discard Message
Now Click on the Create