If stopped on the road or shoulder, within 10 minutes, you must:

If stopped on the side of the road, you must place emergency warning devices, such as reflective warning triangles, within 10 minutes of stopping.
DMV Writen Test