At least in Switzerland, I always had to have blood tests done before the doctor would prescribe anti-biotics. The core issue you have is with the doctor prescribing things willy-nilly.
That might be a thing in some EU countries, but it's certainly not the norm across the EU. You can still buy antibiotics without a prescription in many EU countries, for example in Spain it's entirely dependent on the pharmacist.