Hi thank you for the reply. I've taken the car to the garage and checked it over. The idle speed control valve was faulty and that's what was causing the car to intermittently stall etc. Apparently this is a common problem with the ford focus.
thank you for the help