Just keep getting back up, be persistant, seeking God to deliver you from the things that you don't want in your life. You will be tried by temptation to see if you resist and resist you must because God will not take your free will but if you keep resisting He will not go beyond your limit of temptation.
1 Cor 10:12-13
12 Wherefore let him that thinketh he standeth take heed lest he fall.
13 There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear it.
KJV
Our temptations are for our good because they are preparing us to overcome in the areas that we each need discipline and correction. Practice makes perfect!!
We are more than conqerors in Christ Jesus!