One common view about blasphemy against the Holy Spirit is that it is cursing the Holy Spirit. But speaking a curse and speaking a blasphemy are different. If you have made the mistake of cursing the Holy Spirit, or cursing at Him, do not be afraid that you have committed the unforgivable sin. You have not. Instead, go to God, confess your sin, and thank Him for the forgiveness you already have in Jesus Christ.