contrariwise

adverb
1
used at the beginning of a sentence or clause to introduce a contrast
برعکس, بالعکس, در نقطه مقابل
2
in the opposite way
برعکس, برخلاف
It worked contrariwise—first you dialled the number, then you put the money in.