To quickly search for rare fast radio bursts (FRBs) from massive astronomical observational data, Radio Frequency interference (RFI) mitigation is one of the key and challenging task. RFI will cause search algorithm to output a large number of false positive candidates, and even submerges real astronomical events. Due to the complexity of the sources and types of RFI. there is currently no universal method to solve this problem. In order to reduce the impact of RFI on FRB search, the RFI in L band observational data of the Nanshan 26m radio telescope (NSRT-26m) was analyzed and studied. A three-layer RFI mitigation procedure was established for the main narrowband RFI and broadband RFI, which effectively alleviated the RFI pollution of observational data. Embedding this procedure into the FRB DDSS (Dispersion Dynamic Spectra Search) pipeline, experimental results show that the detection rate and accuracy of the search algorithm have been further improved. This method provides valuable reference for RFI mitigation of FRB observational data.