If it's just slightly tart, as with a lower than expected pH, but not due to bacterial contamination, you could try adding baking soda or slaked lime.
If it's a strong lactic or acetic sour from contamination, there's nothing you can really do IMO.
BTW, Guinness is supposed to be very slightly tart.