In the name of Allah
Self-flagellation (Tatbir) is forbidden in Islam and great Shia scholars such as Imam Khamenei and Ayatullah Sistani have prohibited such violent behaviors.

source: http://shiaa-muslim.com/index.php/2017/02/19/real-ashura-part-2/