To solve a quadratic equation, first rewrite it in the standard form ax² + bx + c = 0. Then, substitute the coefficients a, b, and c into the quadratic formula: (-b ± √(b² - 4ac)) / (2a). This formula provides the solutions for x.