texture stretches on extruded areas

As the title says after I modeled, I did the steps for adding texture, but the areas I extruded the texture is stretched out. I found one solution on the internet but the user had the texture on his model then extruded. I didn’t even add material to the object until I was done. How do I fix this?