Typically by including regressors from fmriprep up to a certain percentage of noise explained. I am not 100% sure this is not too "implementation" related so happy to close this and move it somewhere else.