Stock Rom Flashing Steps

Download MiFlashTool from here. Unzip and Install it.
Download Rom file from here. Unzip it.

Open MiFlashTool from click on select button and select your rom's unzip folder.

Check on clean all to clean flash the rom. If you want to lock the bootloader as well then select clean all & lock

Wait for a while. After flashing the phone will automatically reboot.