Hormone replacement therapy and dieting.

Hi. I am 54 and have been in menopause since late 40’s. I have been on and off of bioidentical hormone replacement. Currently I am not on hormones. I have been dealing with hot flashes and so I am looking to get back on. I also have been struggling with weight gain. What are your thoughts on hormones replacement therapy and dieting? What would you recommend?