My question is this when i am having a hard time and really want to give into my addiction what do i do?
First off... when you accept these thoughts and lust or go even further, don't hide from the Lord cause He knows and sees all.
He has made a way for us to be cleansed anew and fresh after we sin:
1 John 1:9
If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.
Ask the Lord to teach you how to not desire this or other types of sin that trouble you:
James 1:5-7
If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him.
But let him ask in faith, nothing wavering. For he that wavereth is like a wave of the sea driven with the wind and tossed.
For let not that man think that he shall receive any thing of the Lord.
2 Corinthians 10:5
Casting down imaginations, and every high thing that exalteth itself against the knowledge of God, and bringing into captivity every thought to the obedience of Christ
God inhabits the praises of His people (Psalm 22:3), so one must learn to thank the Lord for what one receive when one got born again... His promises and His instructions
Romans 12:1,2
I declare to you therefore, brethren, by the mercies of God, that you present your body a living sacrifice, Holy, acceptable unto God, which is your reasonable service....and be not conformed to this world: but be transformed by the renewing of your mind (understanding, vision), that you may prove what is that good, and acceptable, and perfect, will of God.
1 Corinthians 6:19, 20
Your body is the temple of the Holy Spirit which is in you, which you have of God, and you are not your own....for you are bought with a price: therefore glorify God in your body, and in your spirit, which are God's.
2 Corinthians 6:16,17
And what agreement has the temple of God with idols? For you are the temple of the living God; as God has said, I will dwell in them, and walk in them; and I will be their God, and they shall be My people....Therefore come out from among them, and be separate, says the Lord, and touch not the unclean thing; and I will receive you. (in the OT see: Exodus 29:45-46, Ezekiel 37:27)
The Father's purpose for creating mankind was / is to be with us, and share Himself with us!
(see: 2 Corinthians 6:16,17, Ezekiel 37:27, Leviticus 26:12, Zechariah 2:10-11, Psalms 68:17-18, Isaiah 12:6, Psalm 46:4-7, Revelations 21:3, Luke 1:68, John 1:10-14, Ephesians 2:7)
2 Corinthians 5:17-21
If any man be in Christ, he is a new creature: old things are passed away; L00K, all things are become new.
And all things are of God, Who hath reconciled us to Himself by Jesus Christ, and has given to us the ministry of reconciliation;
2 Peter 1:3,4
According as his divine power hath given unto us all things that pertain unto life and godliness, through the knowledge of him that hath called us to glory and virtue:
Whereby are given unto us exceeding great and precious promises: that by these ye might be partakers of the divine nature, having escaped the corruption that is in the world through lust.
There is power in God's Word so this is simply learning to accept, speak, act, and praise the Lord that what He says about you as follower of Jesus is true for you right now, no matter how you feel.
If you mess up, use 1 John 1:9 and turn from your sin going forward. Repeat as necessary while learing to learning to accept, speak, act, and praise the Lord that what He says about you as follower of Jesus is true for you right now, no matter how you feel.
Bottom line is do not allow the devil to talk you in to thinking it's all good and it's no big deal cause living in sin is not the way to go.... repent and turn away from it and talk to the Lord about teaching you to grow in Him and little by little His promises and instructions will be the stronghold in your mind, and imagination instead of sinful behavior.
And walk with the Lord as His child... don't give in to a sinful lifestyle, but don't be stressed:
1 Peter 5:6,7
Humble yourselves therefore under the mighty hand of God, that he may exalt you in due time:
Casting all your care upon him; for He cares for you.
Philippians 2:13
For it is God which works in you both to will and to do of His good pleasure.
Matthew 18:3
Verily I say unto you, unless you are converted, and become as little children, you shall not enter into the kingdom of heaven.
Now, go kick some satanic butt!