Medications may be used to control heart rate and blood pressure or to reduce anxiety and pain. Antibiotics may be given to fight an infection. Sometimes you may receive these medications through an IV line.