Vomiting has stop

Im 7 weeks ans 5 days pregnant have been vomiting and nauseas alot extreme since then i went to the hospital and i dint ate for one day ,then right now im super hungry can nausea and vomiting go all of it sudden baby is ok tho!!!