logistic regression with pairing subject

I everybody

I have a set of data
my explained variable is antibiotic prescription by family doctor (1 yes, 0 no)
my explicative variable are : type of consultation (office 0, teleconsultation 1)
and of course age, gender of patient...

I would like to know if those variable are explaining the antibiotic prescription.
But I have, for some patient, more than one observation.

I could not use multiple logistic regression because some data are paired
google told me that i should use a mixt model
How can I do that ?

Thank you very much for your help

Hi. It would be good if you could provide a reproducible example of your dataset and also post the code that you have tried for the model.