- Routine trimethoprim / sulfamethoxazole (TMP / SMX) (or whatever medications are considered appropriate by the patient's primary physician for medical management) 1 - 2 hours after pentamidine is given.