Depending on if your vehicle is equipped with active brake, the replacement procedure varies slightly.
I have attached the replacement procedure for both the active and standard brake system.
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.