My doctor did a stress test and told me I had wolff parkinson syndrome. Blood test which showed low potassium. Could this be the problem not wps?

No. Wpw is a very specific electrical abnormality of the heart in which there is an extra electrical pathway, resulting in a unique ECG appearance. It may be associated with rapid heart rates we call re-entrant tachycardia. It is not caused by a low potassium.