I ride sometimes with glasses and sometimes with contacts. Prefer contacts if I am doing long days in the saddle, as glasses can make you sore behind the ears.
Take your helmet with you to the opticians, (I am at an age where I don't care if I look stupid!), and make sure that which ever style you choose, that it fits comfortably.
You may want to consider changing your helmet, if your current helmet does not accommodate glasses very well. Look for one where there is a "hollow" where your ears go,
and there is a gap between the foam inserts for the frame of the glasses to sit in. I also prefer glasses with thin/no rims, makes overall vision a bit clearer. Modern plastic lenses do not seem to mist up as much.