How to deal with intercept and trend in practical cointegration analysis?

How to deal with intercept and trend in practical cointegration analysis?