It has different pronounciation for different words, there isn't any specific rule for this.
All you have to do is try to listen to English people speaking. Eg, BBC, CNN, and read more. Read it aloud. And finally use them. Compose some compositions, and all you need is a pen and a paper.