Augmented Dickey Fuller Test (ADF) is used to check if a process is stationary or not.
The Null Hypothesis is that the process is stationary so it has no trend.
The Alternative Hypothesis is that the process is not stationary, so it may follow a deterministic or stochastic trend. e.g. it's an upward slope
In R the command is the following:
adf.test(data$variable)
So if you find that the p-value is lower than a given threshold, usually 0.05, then you reject the null of stationarity. If it is larger than 0.05 the series is stationary.
In case your series is not stationary you may want to "stationarize" it. The usual way to proceed is by differentiating the log of the series. In R it would look like:
diff1 <- diff(log(data$variable))
Then you perform another ADF test, if you reject the null of stationarity again then you'll have to differenciate again:
diff2 <- diff(diff1)
Time series usually are stationary when doing the first difference, very rarely you need to differenciate more than once.
Hope it helps