As a general rule, you turn it up until it starts distorting and then you turn it down until it stops.
Most equipment have some kind of meter indication to tell you that it is bout to start distorting, and then you keep it below that.
If it's too loud in your headphones, turn down the volume on the headphone amp. Not the mic preamp.