Optical and Long-Wavelength Afterglow from Gamma-Ray Bursts