yellow eyes reasons?

Guys I don't think this is normal the yellowing in my eyes showed up about a couple days ago it started after I've been puking the vomiting had stopped last time I puked was 2 days ago but a few days ago I wasn't able to keep anything down & I had this horrible pain in my upper stomach I can still feel it but it's faint it isn't making me nauseous anymore as it was before but I really need to know what do you guys think this is should I go to the doctors asap ?