How to force a factory reset or hard reset on Realme devices

Realme 6i (India) Realme 6i (India)
Realme C11 Realme C11
Realme C3i Realme C3i
Realme X3 5G Realme X3 5G
Realme C2s Realme C2s
Realme X3 SuperZoom Realme X3 SuperZoom
Realme 6S Realme 6S
Realme X50 Pro Player Realme X50 Pro Player
Realme X3 Realme X3
Realme Narzo 10 Realme Narzo 10
Realme Narzo 10A Realme Narzo 10A
Realme X50m 5G Realme X50m 5G
Realme 6i Realme 6i
Realme 6 Pro Realme 6 Pro
Realme 6 Realme 6
Realme X50 Pro 5G Realme X50 Pro 5G
Realme C3 (3 cameras) Realme C3 (3 cameras)
Realme C3 Realme C3
Realme 5i Realme 5i
Realme X50 5G Realme X50 5G