i tried the render resolution in the curve and surface panel but it still doesnt render ? do i have to press any other button ?
By default, a Bezier Curve has no width or height. Use either the Extrude or Bevel Depth buttons on the Editing panel (F9) to give it some dimension.
A Bezier curve is a two-dimensional object: an infinitely-slender string.
The only thing that can be rendered is a three-dimensional surface.
There are many ways to do this. You can, for example, turn it into “a tube of toothpaste” as many tutorials will show you how to do.