Suricata 5.0.2 in IPS mode for DoS

I got the alerts. But it doesn’t stop LOIC.
I mean, maybe there’s any configuration that I have to change on suricata.yaml because the only things I change on suricata.yaml are HOME_NETWORK and rule-files.