Help with algae

Hello everyone this is my new Betta, this is a 5 gallon tank, but I'm having some trouble wirh algae forming on the rocks and plants, what product or what can you use to get rid of the algae ( you can see the algae in the second pic) let me know if you have any input.