Aeration water getting acidic

What needs to be done if acidic bacteria generating in aeration tank?

We have a confectionery unit which releases effluent of 6ph. After primary treatment, the ph has reached to 8 in aeration tank but due to oxidation ph is gettinh low again to 6 automatically. Please suggest what to do.