Sometimes I need to smooth the border edges of the mesh in ZBrush. To do this you can go to Brush > Smooth Brush Modifiers > Minimum Connected Points To Smooth and set the value to 1.