The stop bath is a weak acid that neutralises the developer within seconds. Many people use plain water instead; it works more slowly but is fine for most films.
The fixer dissolves the silver that wasn't developed. Until it has done its job the film still reacts to light; after it, you can open the tank. Kodak's Tri-X sheet gives 30 seconds in stop bath, then 2 to 4 minutes in rapid fixer or 5 to 10 in regular fixer.
Then wash the film well to remove the fixer, and use a wetting agent before drying to avoid spots. Fixer can be reused until it is exhausted; a clip test tells you when.