Dietician for weight loss

This might sound dumb because it is their job, but has anyone gone to see a dietician for a weight loss plan, and has it worked? My family has a tendency for weight gain and I definitely picked that up. It’s incredibly hard for me to lose weight. I don’t know what to do at this point so I’m curious to know if anyone’s gone to see a dietician for a plan and has it worked for you?