If its dipole moment is along the direction of the field, the net force acting on it is zero, and its potential energy is minimum.