Need answers asap !!

Everytime i eat something that has garlic i throw up friday night i ate something with chesse on it & it had garlic then i came home around 2 am i threw up & every hour i threw up ?? & sat i felt a little better & sunday i felt wayy better but i ate pizza with garlic & around 1 or 12 at night i threw it up what is this i need answerss ????