Regarding Collision Detection

I am not able to detect collison between two moving objects i am trying to do so by intersectRect feature but it detects nly 1 2 times rest it doesnt detect and instead it provides false results also most of the time.