anything?

i got on birth control yesterday when i took mine today i didn’t eat because i had a driving class to go to , so when i got back i had apples and caramel and then threw up once i got into the nail salon ? was it the smell bc i was sick or was it the pill ?