This Ask an Eastern Orthodox Christian provides the inquirer ways the church teaches they can better control their mind and avoid blasphemous thoughts.
Blasphemy of the Holy Spirit occurs when a person actively and willingly pursues a conscious, continuous deliberate malicious attitude of rejecting the Holy Spirit of God, calling God, who is Good, evil.