We investigate the dynamics of a relativistic fireball which decelerates as
it sweeps up ambient matter. Not only the radiative and adiabatic cases, b
ut also the realistic intermediate cases are calculated. We perform numeric
al calculation for various ambient media and sizes of beaming expansion, an
d find that the deceleration radius R-0 may play an important role for the
hydrodynamic evolution of GRB afterglow.