Hi there,
It sounds as if your husband has an addiction to the internet and to on line unfaithfulness. You may find =
this site helpful. There are other resources
here.
Is it possible for you to both go and see your pastor again, so he can advise you and pray for you? You say you are not living with your husband. Does he live close enough for you to go to the pastor together?
To rebuild trust you need to agree on honesty between you. You might like to read the article about trust
here.
It's difficult to know if your husband will take any notice of what you say if his addiction is very strong, but perhaps you can get other people you trust to pray for him. Does he have some sort of Christian faith? You can pray for the Lord to open his eyes to his need for help and how wrong what he is doing is.
I hope that you can find help in your local church as well.
With best wishes
Liz