It doesn't really matter were u measure as long as u keep it consistent. Don't measure top of neck one time then bottom of neck and think u got fatter. Just keep it consistent.
You gain weight by eating a surplus forcing your muscles to grow. U loose wieght buy eating under surplus forcing you to loose fat. It's more complicated then that but you can read all about that in...