Know what kind of variable you have
Before computing anything, decide what each column measures. Categorical variables place observations in groups: blood type, region, yes/no answers. Numerical variables are quantities: they may be discrete (number of children, defects per batch) or continuous (height, waiting time, temperature).
The type decides the tools. You can count and take proportions of categories, but an "average region" is meaningless. Codes such as 1 = north and 2 = south look numerical without being so. Ordinal scales, like survey answers from "strongly disagree" to "strongly agree", sit in between: the order is real, but the gaps between steps may not be equal, so medians and proportions are usually safer than means.
Worked example
One large value moves the mean, not the median
Seven people report how many minutes they waited for a bus: 2, 3, 3, 5, 7, 8, 40.
Mean = (2 + 3 + 3 + 5 + 7 + 8 + 40) ÷ 7 = 68 ÷ 7 ≈ 9.7 minutes. Median = the 4th sorted value = 5 minutes. Mode = 3 minutes.
Six of the seven people waited 8 minutes or less, yet the mean suggests almost 10. The 40-minute wait pulls the mean upward; the median barely notices it. Neither is "wrong": the mean tells a transport planner the average total waiting burden, while the median describes a typical passenger's experience. Report the one that answers your question — and when the data are skewed, report both and say why they differ.
Before deleting the 40, find out why it happened. An outlier can be a typing error, or it can be the most important observation in the data set — a cancelled service, for instance.