Fast radio bursts and their associated nebulae or afterglows