How to find the statistical significance between percentages in two different samples

we are analyzing healthcare data between pre (2017 data) and post (2018 data) implementation of Dosage recommendations. The study groups are different. So, we want to see a statistical difference between the population. For example, 2017 has 56% female population and 2018 has 43% female population. We want to see the statistical difference between these two percentages. Which test is the appropriate one? Thank you so much in advance.