How to Stop Spam Group Creation

Hello Team,

On my website, I’m using the BuddyPress plugin. there’s lot of spam group creation on my website. how to stop spam group creation and spam registration.