Dig a French drain
https://en.wikipedia.org/wiki/French_drain
drain the water to somewhere else away from your foundation, such as to a street or storm drain.
If nowhere to go, you can try a rain garden
https://en.wikipedia.org/wiki/Rain_garden
https://en.wikipedia.org/wiki/French_drain
drain the water to somewhere else away from your foundation, such as to a street or storm drain.
If nowhere to go, you can try a rain garden
https://en.wikipedia.org/wiki/Rain_garden