Doctors usually suspect a TIA if you have symptoms of a stroke that go away on their own in less than one hour. Doctors will put you in the hospital and do an imaging test ( MRI Magnetic Resonance Imaging (MRI) or CT scan Computed Tomography ) to get detailed pictures of the inside of your brain.