If you have gallstones
then what will trigger an attack is contraction
of the gallbladder and getting a stone blocking the duct that drains the gallbladder. Antibiotics wouldnt do this.
Usually the cause is eating, particularly fatty foods. If you have gallstones you shoud consider having surgery to remove it before it becomes an emergency.