The first photon bias of photon detection results in distortion of the photon waveform, which seriously affects the accurate acquisition of target information. A rapid universal recursive correction method is proposed, which is suitable for multi-trigger and single-trigger modes of photon detection. The calculation time is 2 to 3 orders of magnitude faster than that of Xu