8397 ÷ 7 = 1199 R4
No problem, we've got 8397 and 7 for the division.

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

Step 2:
7 goes into 13 1 times with a remainder of 6.
Write down 1 as next digit of of the result. 
Result so far: 11
Subtract 7 from 13 to get 6.
Bring next digit (9) of the dividend behind the 6 and repeat the process: 69 / 7

Step 3:
7 goes into 69 9 times with a remainder of 6.
Write down 9 as next digit of of the result. 
Result so far: 119
Subtract 63 from 69 to get 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 7

Step 4:
7 goes into 67 9 times with a remainder of 4.
Write down 9 as next digit of of the result. 
Result so far: 1199
Subtract 63 from 67 to get 4.

The final result is 1199 with a remainder of 4.