You heard about rebellious women, hear about rebellious men too.
Allah says in Surah an-Noor
(4. And those who accuse chaste women, and produce not four witnesses, flog them with eighty stripes, and reject their testimony forever. They indeed are the rebellious.) (5. Except those who repent thereafter and do righteous deeds; (for such) verily, Allah is Of the Forgiving, Most Merciful.)
Ibn Kathir commented:
If the accuser cannot prove that what he is saying is true, then three rulings apply to him: (firstly) that he should be flogged with eighty stripes, (secondly) that his testimony should be rejected forever, and (thirdly) that he should be labelled as a rebellious who is not of good character, whether in the sight of Allah or of mankind.
Then Allah says:
﴿ إِلَّا ٱلَّذِينَ تَابُواْ مِنۢ بَعۡدِ ذَٲلِكَ وَأَصۡلَحُواْ فَإِنَّ ٱللَّهَ غَفُورٌ۬ رَّحِيمٌ۬ ﴾
(Except those who repent thereafter and do righteous deeds; (for such) verily, Allah is Oft-Forgiving, Most Merciful.) This exception refers to the second and third rulings mentioned above. The flogging has been carried out regardless of whether he repents or persists, and after that there is no further punishment, as is agreed among the scholars. If he repents, then his testimony may be accepted, and he is no longer to be regarded as a rebellious. This was the view of Sa`id bin Al-Musayyib — the leader of the Tabi`in — and also a group among the Salaf. Ash-Sha`bi and Ad-Dahhak said, “His testimony cannot be accepted even if he does repent, unless he himself admits that he said something false, in which case his testimony may be accepted.” And Allah knows best.
(Abridged English Translation of Tafsir Ibn Kathir under 24 : 4-5)
P.s did you know, if a husband accuses his wife of committing zina, the wife can nullify the accusation as her testimony is accepted, consequently, the wife will not be punished. However, if the accuser is not her husband, then he has to bring four witnesses. If not, he will receive eighty lashes and his testimony will be rejected forever.