How to whiten teeth

pi

Got my teeth a bit too yellow and i'd like to within them without spending a lot of money at the dentist XD

I know I should avoid tea and coffee but I really like that... I try to find ways to whiten my teeth (even tho I brush them 3 times a day), any ideas?