Just

How to use just correctly in a sentence.

Just

Just means a short time ago.

I have just seen him in the corridor.
I had just finished it when he came.

Just goes immediately before the main verb.