Charging

90 chevyberetta

my car stops charging when it rains,tow three day later starts charging again any one know what to check.computer is dry