Helpp!!

Yiota
So basically I was prescribed antibiotics for urine infection but I was alwyas throwing up so I read the leaflet and the antibiotics they prescribed me have side effects of vomiting so I said to myself let me not take it one day and see and I just felt sick I didn't throw up, is there anything else that can get rid of urine infection apart from tablets that make you vomit ?