use a vacuum hose and suck all the brown and green stuff out.
and turn off the light. If you want to view the tank, turn the light on at a very short period of time. Light makes brown and green grow faster.
Brown will go away as your tank age. Green is because of the bioload. As long as you feed your fish just right and keep changing the water as scheduled, the green will go away as your tank age.