 Several drugs will also be given to decrease the risk of other infections. Some of these antibiotics are given by vein, and some are given as pills. The length of time that you will take the antibiotics will vary. Your doctor will describe this to you in more detail. 