Find closest multiple of $1000$ to $5256$. We see that $5 \times 1000 = 5000$ is the nearest. Now subtract $5000$ from $5256$ to get reminder $256$. Add $5$ to quotient.
Since $256$ is less than $1000$, stop the division. The reminder is $256$. The topmost line $0005$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $5$.