While the presence of a PFO is a risk factor for stroke, there are others as well. Some are controllable (following a healthy diet, getting proper amounts of exercise, not smoking – or quitting smoking, etc.) and some are related to factors an individual cannot control, including age, heredity, gender, etc.
A full list of risk factors for stroke can be found here.