If your rain garden is on a slope, you can build a sturdy berm (at least 2 feet wide) on the downhill side of your basin to retain water. Alternatively, you can simply dig deeper on the uphill side of your basin to even out water distribution.