It looks like you had an episode of scintillating scotoma
.It is often associated with migraine
and does not require any specific treatment. Each episode can last from few minutes to an hour. It would help to get the eyes examined by an ophthalmologist for a dilated eye exam and to look for intactness of the retina
( as is routinely done in all myopes- with short sightedness).