A quick method of discerning what to do with those agitating, discouraging thoughts:
“As a general rule, you ought to regard as coming from the enemy any thought which agitates you, throws you into perplexity, which diminishes your confidence and narrows up your heart. The best thing in such cases is just to put the matter that perplexes you out of your mind, saying to yourself, ‘When I have the opportunity I shall ask the solution of this difficult from some priest,’ and then go on in peace as you were before.” (Dom Marmion)
I’m sure Dom Marmion would allow the substitution of “a wise person” for “some priest,” someone who is spiritually mature and whose discernment you trust.
Remember Amy Carmichael’s wonderful advice as well:
“The reason why singing is such a splendid shield against the fiery darts of the devil is that it greatly helps us to forget him, and he cannot endure being forgotten. He likes us to be occupied with him, what he is doing (our temptations), with his victories (our falls), with anything but our glorious Lord. So sing. Never be afraid of singing too much. We are much more likely to sing too little.”