These symptoms are consistent with a migraine. If they occur frequently, it is advisable to take steps to reduce the attack severity and frequency.
This can be done by well-chosen daily preventative medication used for about 6 months. Although there is no cure for migraines, the condition is very treatable.