How to Solve the error : Problem was Spam Inactive accounts and Delete User account

Dear Team Inactive spam registration again and again per day 100 to 200 my site. How to stop unwanted users and never delete users on my admin side. Please help us with your support!

Deleting user is working on my site, please check for any console error in your browser while on user management page.