Espresso should have a think, syrupy body, but achieving this requires a correct brewing ratio(dose : yield), adequate brewing time, and fresh coffee. Miss any of those, and your espresso will be thin. To fix it either:
Decrease yield / Dose more coffee / Grind finer / Tamp harder / Use fresh coffee