It is difficult to find a good confessor today. In my opinion, a lot of this talk of scrupulosity comes from modernist confessors who want to control you, and tell you not to confess, which can only worsen the situation.
Nevertheless, scrupulosity can real as it could be a form of OCD, but OCD could result from a poor diet of junk foods, OTC vitamins and drugs, and/or environmental factors like bad drinking water and agricultural chemicals. Having a diet of Pepsi and Coke can cause OCD as the sugar or artificial sweeteners can cause serious health problems. When we eat a poor diet or take harmful drugs, we are poisoning our body, which is a temple of the Holy Spirit --- and that is a sin.
We should be confessing all thoughts, words, and deed that miss the mark. Missing the mark means that our thoughs, words and deeds are not of God, but come from the world and its concerns, ourselves (our flesh), or the devil. St. Paul tells us to pray unceasingly, so every time our thoughts are not of God, in essence, we are sinning as we are failing to pray unceasingly.
My priest told me that whenever I am having a sinful or distracting thought which is not of God, then I should pray immediately:
Lord Jesus Christ, I reject these thoughts, help me and save me.
This has been of tremendous spiritual help to me. My dreams are now more peaceful too.
When we pray, the devil is most clever in tempting us to worry about our parent's health, about our finances, about our country and the direction it is taking, or worse, to think about some indecent ad that we heard over the radio, TV, or Internet. We must reject these thoughts immediately, focus on Christ, and return to our prayers. Looking at a Holy Icon of our Lord or of His Most Pure Mother can help us tremendously to refocus on Christ.
A simple statement, such as, "Lord Jesus Christ, forgive me a sinner for I have sinned in thought, word, and deed" could be a good way to begin your confession after the customary beginning prayers. Then any sinful thoughts (that are not mortal) would have been confessed. My priest encourages me to begin my confession with those words.
By the way, Father Robert Bishop of the Claretians is an excellent priest and confessor. He says the Traditional Latin Mass and is biritual (Ruthenian).