The most important tips is to brush your teth regularly and avoid excess tobacco,smoking and coffee.and if your teeth is too yellowish then removing your yellow stains by consulting a dentist is prefered.
Get some mouthwash and dental floss.clean your teeth everytime you eat..and everyday.
Get Hydrogen Peroxide and clean with it,salts also help in whitning teeth.