[header] How to give up sins (for muslims ) [title] Stop indulging in sin. [step] We all sin sometimes and even excessively indulge in those sins, but we can learn to moderate this by following islam. Many who followed through with this prescription have found a whole new life-of peace, happiness, blessings and mercy. 
On tasting the sweetness that comes with obedience, there is no desire to return to any form of disobedience. Try to understand why allah ta'alaa has made the rules that he has made and do your best to follow them in full.