You are experiencing flashes of light
coming from your eye. This is a symptom of a posterior vitrous detachment (PVD). You have a thick gel material in the middle of your eyes. Over time, this gel material liquifies and collapses on itself. As this happens, it also starts to pull away from the walls of the eye. As it pulls away, it can also stimulate the retina and cause you to see these C shape flashes of light.
A PVD is a normal occurance and happens to many people in your age group. A many people, they don't know anything is happening at all. If you have symptoms, however, such as your flashes, you need to see an ophthalmologist
for a dilated retinal exam to check for any tears holes.
You can call your ophthalmologist for an appointment in the morning..
If you see a sudden showering of dark floaters, increase in flashes (more than is currently happening), or a shadow/veil in your peripheral vision, then you should contact your ophthalmologist promptly.
Remember to press the accept button. It was a pleasure helping you with your question. Feel free to ask any addtional questions.