Abaqus - how to apply precompress in the non linear analysis

I have a spring and it has to be pre compressed by 3mm and then a force of 20n is applied , how to apply the pre compress on the spring