Yes! You want to take a probiotic. The most common misconception is that a probiotic will make the antibiotic less effective. Completely untrue. Think of your gut like a lawn. An antibiotic is going to be not just a weed killer but grass killer too. It will mess up your GI. So, you want to plant good grass seed so that other weeds do not grow back first. Will the antibiotic lower the ability of the probiotic? Yes, of course.
I recommend a multi-strain probiotic of at least 25 billion per capsule as a general rule. One I particularly like is here: https://akdoc.com/shop/nondairy-probiotic-50/
Take one at night during your antibiotic regime and once you finish then you can boost to 1 capsule 2 times per day.