The moment it starts, gently lift your foot off the accelerator. Don't brake, because it will make the problem worse and could result in fishtailing, which is both scary and potentially disastrous. Keep the steering straight, because steering corrections are likely to exacerbate the sway. It should stabilize as you gently slow down.