If the head of the nail that is driven too tightly into the vinyl siding's nail slot, and presses up against the siding hem, the panel will likely buckle and not rest evenly against the exterior wall. To rectify this problem, use the claw of a hammer to pull the nail back, away from the siding, then drive the nail back in, so it's straight and level. Also, allow about 1/32-inch clearance between the nail head and the siding surface.
If you notice any nails or staples that have been installed into the face of the vinyl siding, remove them. They were likely installed to keep the siding fastened to the surface underneath. However, because changing outdoor temperatures can cause the vinyl siding to either contract or expand, the nails and staples will restrict the siding's movement and cause it to buckle instead.
The vinyl siding must have a rigid, smooth surface underneath it for the siding itself to be even. If this smooth backing is absent, you can install furring strips behind the uneven panels. To get to the surface underneath the panel, slide a ziplock tool -- which is a specialized tool to remove the siding panels -- between the uneven panel and the panel above it, then unlock the two panels. Bend out the upper panel, remove the nails from the uneven panel and remove the panel. Follow the manufacturer's instructions to install the furring strips, which are thin metal or wood strips that provide an even surface. Reinstall the siding panel, along with any other panels that you need to remove to install all the furring that's needed.
Make sure that the uneven siding panels are totally locked into place along the bottom of the panels. Push panels up from the bottom, if necessary, until they fully lock. Make sure the panels are not forced up too tightly. Also, use a utility knife to trim the siding so it matches the shape of any wall protrusions, such as light fixtures, that might obstruct the panel and interfere with its alignment.