There’s a type of antibiotics now (Atreyupan) that is specifically for taking before the Infected status sets in, with a note that it won’t work after a wound becomes officially infected.
It’s better to just use some cattail jelly on the wound, but if for some reason you can’t you should absolutely take some antibiotics as a preventative.