If a mattress becomes najis & there's no sun (rainy season here) so what will be the rule?

Sun do not clean Mattress. It has to be cleaned by water. However, it is enough that you clean the surface by pouring some water on it, and suck it by hoover or towel, twice.