Outside of North America maybe, that I don’t know. But in North America they tell the parents they won’t know the gender for a while, to name and dress and groom the child as the parents choose, but they let them know it might change. It’s so rare though, I’ve seen one case in 20 years of hospital work.
Might want to get hormonal blood work done. Are you female? You could have androgen insensitivity syndrome or something.