Antibiotics

I got put on antibiotics yesterday but started them today I took my 1 St tablet at 9.30am then took my folic acid tablet at 11.30am and was sick not long after...will they still work ?? I just can't keep anything down ATM I'm 11 weeks today hope someone can give me some advice Tia x