It will keep coming back till you fix the issue. Look at
co2, flow, light, and nutrients. Try and get things in balance.
Best thing you can do is plant easy growing fast plants. Get some floaters too to help reduce light intensity. I generally see bba in newer setups before things get into balance and plants are still in transition or just not thriving.
My number one way to help.slow down algae is to cover 50-75% of my water surface with duckweed or frogbit. Algae stops.