The default riding position is the middle of the lane.
Only pull over to the left when it is safe to allow those behind to pass.
Beware that crossings, junctions, narrow roads, and busy traffic are all situations where it might be unsafe to be overtaken.