The first step is to find the t-statistics using the following formula,
Where,
t is the T-distribution
x̄ is the sample mean
μ is the population mean
s is the standard deviation
n is the sample size
Once this is calculated, subtract one from your sample size. This will be your degree of freedom.
Lastly, look at your t-score and the df in the t-distribution table.