Here's teh example
HA + H2O <--> H3O+ + A-
-- If an acid is added, the hydronium ions react with A- therefore equilibrium shifts to the right to replace A-
--If a base is added, the hydroxide ions react with H3O+ and thus equilibrium shifts to right to replace the H3O+...