I get those, too...have had them for years. My eye doctor says my eyes are healthy and there are no worries. It happens when my eyes are closed and I clamp them shut tighter.
Make sure with your eye doc that your eyes are healthy first. In some people with very high prescriptions, flashes...