Crisis on infinity earths

Well today I try to watch Crisis on infinity earths I intend too for get that those four episodes were pretty confusing, I did watch supergirl the flash, and I watch Legends but I for got that the Arrow episode was from what or Part 3, prequel/ sequel hopefully the next time I try to watch Crisis again I got too put that the 3.