From the least risky to the most. Start at the top.
Remove bubbles by hand, whole
Wiggle each bubble off intact, with its attachment point if you can. Use tweezers or a scraper for stubborn ones, and a small net or siphon to catch loose ones. Turn the pumps off first so bubbles do not drift around. Rock that comes out easily can be cleaned in a bucket of tank water.
Watch for: Sources disagree on whether a burst bubble spreads spores. One says it does not and one says it can, and a third says an accidental pop does not doom a tank. The safe habit is to remove bubbles whole and catch any pieces. Regrowth is common if the base is left behind.
Keep nutrients in check
Use clean RO/DI water, run a good skimmer, do regular water changes and grow chaeto in a lit refugium so there is less food for the algae. Avoid driving nitrate and phosphate to zero.
Watch for: Nutrient control does not remove bubbles that are already there. Pair it with hand removal.
Emerald crab
Emerald crabs are the animal most often named for bubble algae. They tend to tear bubbles apart rather than pop them. Keepers use them mainly to stop regrowth after you have removed the bulk by hand.
Watch for: Results are inconsistent: some crabs eat bubble algae readily and some ignore it, and a well-fed crab is less interested. They are not strict herbivores. One keeper saw them nip zoanthids and hurt a clownfish. They will not clear an established infestation alone.
Emerald crab care pageFoxface rabbitfish
In a large tank, a foxface rabbitfish can control bubble algae.
Watch for: One source puts this at tanks of about 150 cm (5 ft) or 380 L (100 gal) and larger. Rabbitfish need space and may eat other things you want.