50 ÷ 8 = 6 R2
Let's divide 50 by 8.

Step 1:
8 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of of the result. 
Result so far: 0
Subtract 0 from 5 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 8

Step 2:
8 goes into 50 6 times with a remainder of 2.
Write down 6 as next digit of of the result. 
Result so far: 6
Subtract 48 from 50 to get 2.

The final result is 6 with a remainder of 2.