Is it like a spidar web? Have you lost vision? If so then you need to go in the morning ASAP to an ophtholmologist to rule out a detached retina.
If it's flashing of light you might be getting a cararact or your pressure might be high.
Flashing lights are not a good sign.
Good luck and keep us informed.