The color of teeth is decided by genetics or inheritance, brushing can not turn your teeth white if they are yellow.
Some stains can be external, caused by tobacco, paan, smoking, multiple cups of coffee or tea/ day.
These can be removed by professional dental cleaning by a dentist.
Next Steps
visit a dentist for professional cleaning and check up.