I am making something with a curve and everything is good but suddenly when I rotate a point all the points rotate with it. How can I make them rotate separately? here is before rotation
and here is after rotation
When you are editing curves, selecting the point of the curve also selects the two control handles that define the curve going into and out of the control point. Rotating this selection moves all three and may not give the result you want.
Another property of the curves control point is Tilt, you can see this value under Transform in the properties sidebar N. When using a flat extrusion shape this can 'twist' the extrusion sideways without altering the curve shape.
You need to be cautious with it's use as a large tilt value compared to the next points can give a visible crease.