We're dividing 500502 by 8 
We're looking to find how many times 8 goes into 500502.

Step 1:
When dividing 5 by 8, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 8

Step 2:
50 divided by 8 is 6 with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 48 from 50, we get 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 8

Going ahead to step 3:
If we divide 20 by 8, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 62.0
The remainder is 4 after subtracting 16 from 20.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 8

On to step 4:
The number 8 fits into 45 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 625.0
Deduct 40 from 45 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 8

Moving on to step 5:
50 divided by 8 is 6 with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 6256.0
Deduct 48 from 50 and we're left with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 8

Let's proceed to step 6:
8 can be fit into 22 2 times, resulting in a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 62562.0
Deduct 16 from 22 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
8 can be fit into 60 7 times, resulting in a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 62562.7
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
When dividing 40 by 8, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 62562.75
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 62562.75
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 62562.75
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 62562.75 with a remainder of 0.0.