Espresso should have a thick, syrupy body, but achieving this requires a correct brewing ratio (dose : yield), adequate brewing time, and fresh coffee. Miss any of these, and your espresso will be thin. To fix it either:


Decrease yield / Dose more coffee / Grind finer / Tamp harder / Use fresh coffee