The bad news is that there isn't much you can do in the way of prevention. If it wants to come back, it will... unless it's removed surgically.
If you're taking an antibiotic, definitely keep taking it until you run out of it. But it isn't really an an effective treatment for these cysts and...