The problem can be prevented by adding antiozonants to the rubber before vulcanization. Ozone cracks were commonly seen in automobile tire sidewalls, but are now seen rarely thanks to the use of these additives. A common and low cost antiozonant is a wax which bleeds to the surface and forms a protective layer, but other specialist chemicals are also widely used. 
On the other hand, the problem does recur in unprotected products such as rubber tubing and seals, where ozone attack is thought to be impossible. Unfortunately, traces of ozone can turn up in the most unexpected situations. Using ozone-resistant rubbers is another way of inhibiting cracking. EPDM rubber and butyl rubber are ozone resistant, for example.
For high value equipment where loss of function can cause serious problems, low cost seals may be replaced at frequent intervals so as to preclude failure.  
Ozone gas is produced during electric discharge by sparking or corona discharge for example. Static electricity can build up within machines like compressors with moving parts constructed from insulating materials. If those compressors feed pressurised air into a closed pneumatic system, then all seals in the system may be at risk from ozone cracking.
Ozone is also produced by the action of sunlight on volatile organic compounds or VOCs, such as gasoline vapour present in the air of towns and cities, in a problem known as photochemical smog. The ozone formed can drift many miles before it is destroyed by further reactions.