Rotom cannot be obtained in Pokémon Black or White. The Ghost/Electric-type debuted in Generation IV (Diamond, Pearl, Platinum) and was unavailable in the Unova region during normal gameplay.
The only ways to get Rotom in Black/White were through the now-defunct Dream World or the Pokémon Transfer Lab (post-game, requiring a Gen IV game).
Rotom becomes catchable in the Lostlorn Forest—interact with the TV inside the trailer to trigger the encounter.