The choice of prophylactic antibiotic depends on various factors, including the type of cancer, the patient's medical history, and the specific pathogens they are at risk for. Commonly used prophylactic antibiotics include fluoroquinolones like ciprofloxacin and levofloxacin, as well as trimethoprim-sulfamethoxazole for preventing Pneumocystis jirovecii pneumonia (PJP).