Thank you for using JustAnswer. It is privilege to help you.
If you had diarrhea almost 7 hours ago and afterwards you developed biliary colored vomiting episodes every 2 hours and it is ongoing issue since last 10 hours almost, I would like you to be evaluated in emergency room as soon as posible to make sure there is no serious underlying problem like obstruction issue
Please just take clear liquids instead of any solid food and report to local emergency room for proper diagnostic and clinical evaluation and also you may need to get replaced with fluids and electrolytres lost in persistent vomiting and diarrhea.
and best wishes for your health and safety.