Sealants only work on pristine teeth or teeth with very early decay. With minor decay, the sealant application prevents further damage.
Tooth sealants are applied to teeth before there’s any serious decay or fillings. Many adults may have slight decay that can be sealed to prevent a full cavity from forming.
Once there’s a filling, a sealant no longer makes sense because the cavity has already formed.