For some people, stroke prevention may begin after a transient ischemic attack (TIA) — a warning sign that a stroke may soon occur. Prompt medical attention may help prevent a stroke.