The major VR headsets, including Oculus Rift, HTC Vive, and PlayStation VR, have been designed in a way that lets most prescription glasses frames fit. However, wearing glasses inside a head-mounted display can still be problematic. You might scratch the headset's lenses with your frames, you might experience a bit of fog, and your lenses touching your face when mashed into the headset can cause smudges that are hard to see through.
A company called VR Lens Lab has taken it upon themselves to create lenses that work with the three major VR headsets. Their first lenses caused some distortion for some users, but they've redesigned them, calling them RABS premium lenses, and the distortion is significantly reduced.