I’m 99% Sure I Committed the Unpardonable Sin

People are often plagued with the thought they’ve truly committed the unpardonable sin. What kind of counsel do these people need? Should they be consoled and comforted, or should they be rebuked for pride and self-pity?