1 Thessalonians in Chapter 5 counsels that we ought not to quench the Holy Spirit (1 Thessalonians 5:19). In other words, the Fire of the Holy Spirit must not be put off. How can one put off the Holy Spirit? By walking according to the flesh for the flesh is at war with the Spirit (Galatians 5:16-18). Apostle Paul writes for that which I do I allow not: for what I would, that do I not; but what I hate, that do I. (Romans 7:15). We can all empathize and relate with Apostle Paul. Many times we do things willfully that we dont want to and dont do things that we have to, and in that manner, we grieve the Holy Spirit God. So what can we do to not grieve or quench the Holy Spirit? We can submit to the will of God, mortifying our selfish desires and we can walk accordingly to the Holy Spirit; and we can earnestly pray with a sincere heart as King David prayed, “Create in me a clean heart O God, and renew a steadfast Spirit within me…” (Psalm 51:10-12)

Romans 7:15 (KJV)
15 For that which I do I allow not: for what I would, that do I not; but what I hate, that do I.

Psalm 51:10-12 (KJV)
10
Create in me a clean heart, O God; and renew a right [steadfast] spirit within me.
11
Cast me not away from thy presence; and take not thy holy spirit from me.
12
Restore unto me the joy of thy salvation; and uphold me with thy free [generous] spirit.

Galatians 5:16-18 (KJV)
16
This I say then, Walk in the Spirit, and ye shall not fulfil the lust of the flesh.
17
For the flesh lusteth against the Spirit, and the Spirit against the flesh: and these are contrary the one to the other: so that ye cannot do the things that ye would.
18
But if ye be led of the Spirit, ye are not under the law.

1 Thessalonians 5:23 (KJV)
23 And the very God of peace sanctify you wholly; and I pray God your whole spirit and soul and body be preserved blameless unto the coming of our Lord Jesus Christ.