Help my fail2ban is not working?

Why is my fail2ban not working on my server? I tried to using fail2ban on my server to prevent brute force attack, but getting fail2ban working is a serious challenge. I tried log in multiple time in a row and my IP address was not blacklisted. Fail2ban is running fine but it is not blocking IP. What could be the cause of this problem?
