Abnormal smoothing

What should I do to fix these smoothing problems?

Get rid of the weird topology you came up with at the top and bottom and just keep a pentagon there and it will look ok.

If that’s still not good enough, you just have to expend more geometry on the surrounding mesh.

thanks man