You will need to wear a headband for 5 to 7 days to ensure your ears are maintained in the correct position post-surgery, and for up to a month at night after surgery whilst you are sleeping.
You can therefore expect to be wearing your glasses after 3 weeks after surgery, but can take longer. You should therefore consider buying prescription contact lenses for this time period.