A couple of links for you to read:

Lowering Alkalinity Step-by-Step

Using Muriatic Acid Safely