It affects my faith as well as my life I usually don’t leave the house for days afterwards,
That indicates to me that it is more of a psychological issue. If it was only affecting your thoughts/belief in there being a God and a heaven after you die, then I’d think that’d be more of satan tempting you and trying to undermine your Faith. Whilst this may be a part of it, that fact that you say it affects your
life, so badly that you don’t leave the house for
days ??? Seems like severe general anxiety issues. And this is where medication and counselling can help in general in reducing these episodes and once these levels are reduced, you’ll have the mental strength to turn your mind away from those thoughts.
Another thing to consider is also obsessive compulsive disorder which is not just about compulsively washing hands, or compulsively cleaning etc, but can also include obsessively thinking about matters and not being able to let go of them, as the mind just keeps going in circles on the subject.
I haven’t had a panic attack in months but after seeing on the news about a 16 year old girl who was hit by a train while crossing the tracks trying to take a shortcut home and it triggered it.
Then perhaps stop watching the news for a while, or when those stories come up, switch channels if they are a trigger for you.
I think you honestly need medical help with these issues, in understanding them, in strategies in overcoming them or at least dealing with them and medication can be a significant help in all this. Go and see your doctor. And pray Acts of Faith and Hope, pray for an increase of Faith too to help in the spiritual side of matters.
Getting the overall underlying issues treated will help with your ability in dealing with the effects that this has on your Faith life too.
ETA - God helps those who help themselves.