To prevent broccoli from becoming mushy, ensure not to overcook it. Steam it just until tender-crisp, about 5-7 minutes, and immediately remove it from the heat to retain its texture.