Welcome to the forum
It is often a shock to receive a diabetes diagnosis but it sometimes is a relief as it explains symptoms that you may have had. It is a very manageable condition that is most people can be achieved by making some lifestyle changes. As you say you need to lose weight that is something that will be helpful in reducing blood glucose.
Have a look at this link as it is a low carb approach which was designed by a GP surgery to help their patients who have been diagnosed and many have found it a successful way to both lose weight and reduce blood glucose.
https://lowcarbfreshwell.com/
The threshold for diagnosis is 47mmol/mol so you are not too far up the ladder so by making some changes reducing your HbA1C should be doable but you do need to make those changes.
The Learning Zone (orange tab at the top) also has good info and links to other resources.