What happened, happened, and now it is over according to what you say. Now you have no option but to learn a lesson for the future, to choose suitable husbands for your daughters and suitable wives for your sons. You have ahead of you the rest of the days that Allaah has decreed for you, so do not be preoccupied with grief, regret and sorrow, because that will not do you any good. Take care of yourself and turn away from that which will harm you and make you waste your life with no benefit.
It is essential that you conceal this from your children, because no interest will be served by their knowing about it.
Strive to teach your children the ‘aqeedah (beliefs) of Ahl al-Sunnah wa’l-Jamaa’ah, and give them a sound upbringing.
Seek reward for your calamity with your Creator, and strive to do righteous deeds that will benefit you and your children. Do not pay any attention to the past, because it is behind you. Nothing can help except forgetting about him and doing that which will help and benefit you in spiritual and worldly terms.
We ask Allaah to compensate you with good and to relieve you of worry and grief.
And Allaah knows best.