I was first only diagnosed with anxiety. After that doctor was fired, and I transferred to a new doc, they diagnosed me with both anxiety and bipolar disorder. And given the circumstances they already knew about my previous diagnosis.
The thing about mental illness is that it’s not a straight science. And even when trying to categorize someone into these diagnoses it’s not easy. There is too much overlap between illnesses. Which is why docs can come up with different answers for the same patient. However, I would suggest looking up your symptoms yourself and trying out a few different meds to discover what things you should be targeting specifically and to find out what helps you most