Best time to go to the doctors ??

When is the best time to go to the doctors ? Im 8w4d and I can’t keep anything down , I tried eating bland food and within the hr I throw it all up I’ve been like this for 2 days now