What was your risk?
If you're worried about gut health, take a good probiotic. There are people who have to take long-term, very strong antibiotics, and don't get cancer. You took a few antibiotics over a very short time. You'll be fine.
Have you ever talked to anyone about your anxiety? You seem to jump to the worst conclusion right away, which is a big sign of anxiety. You have a risk and take all the antibiotics. After that, you think you'll get cancer.