How to extrude while obtaining better topology?
You can perform the following steps to get a clean topology with the same shape.

Select the first face and extrude downwards.




Now switch to edge select and select the other faces and the outer perimeter.




Repeat the same technique shown in the last two steps.