334 ÷ 7 = 47 R5
Let's divide 334 by 7.

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

Step 2:
7 goes into 33 4 times with a remainder of 5.
Write down 4 as next digit of of the result. 
Result so far: 4
Subtract 28 from 33 to get 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 7

Step 3:
7 goes into 54 7 times with a remainder of 5.
Write down 7 as next digit of of the result. 
Result so far: 47
Subtract 49 from 54 to get 5.

The final result is 47 with a remainder of 5.