I have broken an oath that I would not do a particular action. Now I have to compensate for breaking my oath. Should I do that every time I do that particular action?
When you have broken your oath the first time, you have committed an offense, but the oath itself is no longer valid. You need a new oath to make it binding on you to refrain from whatever action you have specified. This means that one atonement only is needed for that oath. The atonement is to feed ten poor people or to give them clothes. If a person cannot afford that, then he should fast for three days[in that order of preference]. [If it so suits him,] his fasting may include Friday, provided he fasts either Thursday or Saturday with it.
Having said that, I would like to add that making an oath like you did is perhaps not the best way to refrain from doing something undesirable. If that action is forbidden then one should try hard to avoid it by reminding himself of its prohibition. If he tries to sharpen his sense of fearing God and the need to avoid whatever God has forbidden, he stands a greater chance to be able to resist the temptation to do it than by making an oath not to do it. Furthermore, he should recognize the sort of temptation that affects him most and try to avoid it, busying himself as much as he can with something that keeps the temptation away from him.