Taking a plane with a newborn

After baby has his first set of shots we’ll be flying to Oregon to visit some family. Does anyone have any advice on flying with a newborn? Will it hurt him at all? (Ear popping and all that)