The master equations for the field in the micromaser and laser operati
ng on three-level atoms driven by an external coherent field are prese
nted, and exact solutions for the steady-state photon distributions ar
e derived. We focus mainly on V-type atoms and study both the transien
t and steady-state behavior of the mean photon number and photon numbe
r fluctuations of the cavity field. It is shown that the external fiel
d enables us to control the photon statistics and to realize an optica
l NOT gate. In particular, we can enhance and suppress the maser and l
aser radiation and its intensity noise via mechanisms such as the dyna
mic Stark shift and lasing without inversion. An experimental scheme i
s suggested.