1.
used to give extra details about sth that has just been mentioned :
I used to live in France; in fact, not far from where you're going.
2.
used to emphasize a statement, especially one that is the opposite of what has just been mentioned :
I thought the work would be difficult. In actual fact, it's very easy.