The best way is to interact frequently with NES of English.
Student or Learner
would you please give me a way of learning slang?
I am not a teacher.
I thought NES was the Nintendo Entertainment System.
If it also means 'native English speakers' isn't the 'of English' superfluous?
As for learning idioms, click on Reference above and then Idioms.