If it does turn out to be a migraine then a doctor could prescribe you a fast acting triptan (nasal spray or orally
disintegrating tablet) in order to stop the migraine... a regular triptan in
tablet form would not be good in your situation since in your case your situation resolves itself in under 30 minutes, so you would need a fast-acting triptan in your case, such as a nasal spray or an orally disintegrating tablet in order for it to be effective.