Block spam mails

How can I block spam mails in GMX?

First, I’m an Avast user and not an Avast Team member.
You don’t say what Avast Program you are using ?
As far as I’m aware spam emails aren’t covered in the Avast Mail Shield or Email Guardian.

You also don’t say what email service you are using, they may have the ability to block emails from GMX going into your inbox and direct them into a spam folder.
Or if this is webmail or downloaded to the local computer ?

I use MailWasher Pro that pre-validates my emails for spam, etc. which I flag, it then calls my email program and I download the remainder.