Practice. If sparring doesn't feel comfortable yet try controlled drills first. Important for head (or actually upper body) movement is stance, you can't move your upper body if your stance is incorrect, since it will put you out of balance.