As said before, it definitely depends on where you will spend most of your time. If you live or are planning to live in the UK, for example, it's best to learn how to understand British English fluently. If you live/are planning to live in the US, it's better to get used to SAE (Standard American English).
If you aren't living/are planning to live in either places, however, my advice is to get used to the SAE accent first. From my experience, SAE is a clearer accent and so is much easier to understand and learn, and so is a great segway to learning how words are pronounced in general. Then, when you feel more comfortable with SAE, you can try to delve deeper into other accents, such as the standard British accent, regional American accents, etc.
I hope it helped, and I apologize if there were any grammatical mistakes. :)