A Handbook of Moral Theology, Vol. I: Introduction; Morality, Its Subject, Norm, and Object
by Antony Koch
p. 200
usually be cured by the timely application of suitable remedies.
a) The first step to take is to determine the cause. In the majority of cases the confessor will discover a pathological condition of either the body or the mind. The penitent must be enjoined under strict obedience to remove the cause of his scruples by applying the remedies suggested to him. There is no other cure because the victim of scrupulosity nearly always seeks the cause of his disorder outside himself. Where scruples are merely a trial of the soul, or a penalty for previously committed sins, or a test of virtue, they may be regarded as a disposition of Providence, and the penitent should be admonished to be patient, humbly put his trust in God, and use his affliction as a means of acquiring greater perfection.
If scrupulosity is the result of diabolical obsession and the confessor decides to perform an exorcism, he should not let the penitent know anything about it.
A second reason for enjoining strict obedience to the directions of the confessor is the inclination of scrupulous persons to reject the advice of others and obstinately adhere to their own notions. Such people need, and generally desire, a firm guide, and it is safe to say that a scrupulous penitent will never sin if he follows the advice of his confessor. For the same reason a prudent confessor should inexorably send a scrupulous penitent back to his former confessor, or, when this is impossible, accept him only on condition that he promises strict obedience. Priests do well to be lenient toward scrupulant penitents in all other things, but they should punish disobedience with firmness, even by denying absolution.
b) The specific remedies indicated in each individual