I'm from india im coming to other countries. Am I allowed to play and represent immediately or I should wait until 4 years. I have not played any level cricket here knowing its political
It depends on the level of cricket you want to play, and on the regulations of the individual organising committees who administer the level you wish to play at.
In general, there's usually no issue in playing at a social level, and as you rise through the ranks more restrictions are in place. To play international cricket for another country in general requires four years of residency in that country, but there are many twists & turns to the regulations. I'd suggest you go through the various documents on the ICC site.