Ampicillin can be administered by mouth, an intramuscular injection shot or by intravenous infusion. IV injections must be given slowly, as rapid IV injections can lead to convulsive seizures.