You could only see this coming like a wood-burning locomotive across the western Kansas prairie- that is, for a looooong time.
Go to confession, and DO NOT COMMIT MORTAL SIN. If you have any porn/masturbation/fornication/impurity issues, you need to break it cold turkey, RIGHT NOW. Your ability to confess to a priest who observes the seal and doesn’t want you put in a concentration camp and executed may be coming to a swift end.
The best way to protect yourself is, by definition, completely in your control: DON’T SIN.