I made a curve but part of the same curve doesn't fit in a regular line, I need to align the points/vertices with each other, how can I do this? I need to put those in order.

I made a curve but part of the same curve doesn't fit in a regular line, I need to align the points/vertices with each other, how can I do this? I need to put those in order.

What you need to do is scale along a single axis, in this case the Y axis. Select the vertices you want to have in a straight line, and press S-Y-0.
Instead of this:

You will now have this:

This works best for the Vector handle type, but can be used in many cases for the other types as well.
S-Y-0? It works for me with Vector handles. – J Sargent Jan 12 '15 at 15:34