Choose high-quality filament that is compatible with your printer and stored properly to avoid moisture absorption. Filament diameter and extrusion multiplier should also be calibrated accurately to prevent under-extrusion.