He admitted his mistake straightaway and was very ashamed and apologetic.
He had been chatting to many women at the same time.
Wa `alaykum as-salamu wa rahmatullahi wa barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.