Yellow spots are a different description to yellowing of the eyes. If it is yellowing of he eyes then that's jaundice just as Jonnysmith says. If it is yellow spots then that may be something different altogether; words are so important.
I mean, by a proper eye doctor, not just someone who wants to sell you a pair of glasses. Optician are another group of health parishioners who rip people off.