It's called forcing yourself to talk.
I had to do tongue exercises and shit like that when I was young to help me with pronunciation. Can't recall any of the specifics of them though.
put yourself in that situation more often
What's your impediment