Blood and mucous in stool

I’ve been on 2 courses of antibiotics in the past 3 months from an apparent ear infection, and I think it’s really messed up my gut, for the past few weeks I’ve noticed that my bowel movements and passing gas have smelled horrible, a lot worse than what it’s supposed to smell like, my stool has had a lot of mucus mixed with a pinkish colour when I wiped, and the past few days I’ve noticed that there have been some traces of blood in my stool and now I’m having discomfort/burning sensation in my lower abdomen, and my anus occasionally pulsates which is making me freak out, I’m getting my wisdom teeth removed on Monday but that also means that I’m gonna have to go on another course of amoxicillin. My gut is messed up and I don’t know if I can handle another course, I finished my 2nd course on Tuesday so taking 21 more capsules without any recovery seems crazy, I saw my doctor and I’m gonna be getting a ct scan and a colonoscopy is it possible that this could be Ulcerative colitis, or a C. difficile infection or even haemorrhoids?