Depending on the type of algae eater you got and how big your tank is it should be alright. Chinese algae eaters get very large and can actually bother slower moving fish. If the betta starts having problems you can always move him to something smaller on his own, even a bucket until you find something else.