Asslam o Alikum

sir what is the best way to protect lcd tv lcd tv and labtop from moisture
last year 2 mother board of my p-4 pc and satellite receiver got damage
air cooler remain 24 hours on
please guide me how can i protect these. thanks