'98 Honda Accord keeps dying on me

I owned a Civic several years ago and had this problem with mine. You state that your problem started when it was raining. A common problem is bad spark plugs or coils when engines have a no start or run poorly. We need a little more info, as cigroller stated, to get to the real problem.