Hello everyone ... who can explain to me how the problem of the difficulty works

and how can I set a good compromise for my hardware

??
On ckpool I started with difficulty 4000 (4K) but the pool automatically set me to 40 and then to 20 ....
so what should I do??
thanks,ultimate64