This may be too late for your immediate purposes.
For most styles of beer you ideally want a mash pH of around 5.2--5.3. Being too far off on either side can lead to off flavors. Lactic acid is a simple way to treat the water supply to help you get in that range, with one big condition attached to it: You need to know how much to ad given your recipe and water supply in order to hit that target. And it can vary quite significantly.
The best place to start is to perform a brew and take a pH reading of your mash (about 10 minutes into the mash is good, but any time is fine). If the mash is too alkaline (above 5.5), then next time you mash add some Lactic acid to your water supply (both strike and sparge water). How much do you add? Good question. That will entirely depend on the factors above and how far off you were last time.
My own water supply requires that I ad between 1 to 1.5 ml to my entire water supply. 6 months ago I was adding close to 3 mls, but my requirements seem to be creeping down.
I'm by no means an expert on water supply and mash pH so others ought to jump in and confirm or correct what I'm telling you.
edit: One thing I'd add to this post is that for quite some time I struggled trying to make excellent beer. It was usually quite drinkable, but rarely outstanding. So I asked lots of questions and modified my approach as per the suggestions of more experienced brewers. My final product has improved significantly. Since controlling fermentation temps was never a problem for me, I think the two major improvements to my brewing have come from better control of the water supply (including mash pH) and better control of mash temperatures. Ensuring that I get within a suitable range for mash pH, using campden to remove chlorine/chloramines from the water, and buying an accurate thermometer for better control of mash temps seems to have worked wonders for my brewing. If you struggle at times as well then you may want to consider these factors as significant variables that you ought to get under better control.