How do you get better at anything? You practice it.
Talk with locals whenever you get the chance. Find resources where people speak with the accent you're struggling with- movies, series, videos, interviews, newscasts, podcasts, standup comedy, music, etc. and listen, listen, listen.