How do I feel attractive as a man?

I’ve never been someone with lots of self esteem, but now I’m a parent and trying to take better care of myself (going to gym, losing weight, take care of skin, etc.), and I worry that I’m never going to actually think positively of myself.

What do I do to feel like I am an attractive person?