Thanks for your question.
Your appear to be describing flashes and floaters
. Usually this is due to a condition called posterior vitreous detachment
which is nothing to worry about.
However, it is important to see your eye doctor as soon as possible for a full dilated examination of your retina
to rule out any tears or a detachment which can also present with flashes and floaters.