You can get rid of protein foam in your aquarium by doing regular tank cleanup, getting rid of leftovers after every feeding session, removing any dried aquatic plants inside the tank, and giving your tank filter proper care.