Help ?!

Friday night i ate something with garlic on it & i threw up idek why & i ate pizza with garlic & i threw up & this morning i ate chesse & eggs & i didnt throw up at all i need help on whats going on ? 😟😟