Get the information about gender identity and the law in your country.
You can read a useful review of gender laws here ILGA Europe 2023 review - although this is written from a pro-self-ID perspective we disagree with it contains up-to-date information.