Usually people aquire them by listening to a ton of audio with people speaking in those accents. The best thing in my opinion would be listening to an audio book and then trying to read it out loud with the same accent. BTW if this was helpful feel free to check out my teacher profile.