AUCTeX is without doubt the best major mode for editing TeX and LaTeX files with Emacs (see AUCTeX in The AUCTeX User Manual). You can get it from its website at AUCTeX web site, but since it is available from GNU ELPA, you can simply install it from M-x list-packages.