>bad thoughts or images during prayer or meditation
>patients may believe the thoughts are inspired by Satan,[25] and may fear punishment from God or have magnified shame because they perceive themselves as sinful.[26] Symptoms can be more distressing for sufferers with strong religious convictions or beliefs.[13]
Its true.
As how I deal with them, I just try to concentrate.