>>1034090There are add-ons which can help, like looptools, zuda77's curve fitting, and mio3 flex, but I think the core issue is that your topology is a total mess.
You can either start from scratch, or try and fix what you've got. Here's how I would approach the latter:
Dissolve all the edges that are just dividing flat faces.
Make new edges to turn the big n-gons on the side into quads. You can subdivide the edges below and hit 'j' to connect them to the corresponding verts on the top curve, or use the knife tool.
Then you can add an edge crease or support loops to the edges you want to keep sharp and use a subdivision surface or just subdivide certain edges manually with smoothing turned up.
Alternatively, rebuild the top edges using an actual curve object, convert that to a mesh once you've got it looking nice, then delete the top of the existing mesh and graft it on.
Or make a curved surface then project or shrinkwrap the top of your mesh to it.