A medical consultation is essential because metronidazole can have severe side effects and dangerous interactions: About metronidazole - NHS
It is only available via prescription from a doctor or qualified clinician.
Many people now use reputable telehealth platforms that offer virtual consultations with licensed doctors who can provide a legal prescription online if appropriate. The Dangers of "No-Consultation" Purchases