use "so" when the first clause is the reason for the second clause
Ex:
I don't have to work today so I read a book
because "I don't have to work today"; therefore "I read a book".
There are 5 usages for "that":
1. It's the same meatloaf that (used as a relative pronoun) we had yesterday.
2. I am sorry that (used as a subordinator) I did not call you.
3. That (subject of the sentence) I am inconsiderate is a matter to be discussed later.
4. I am sorry in so, so, very many ways that (used as a conjunction) I did not call you.
5. Many folks thought that ( predicative complement used with a verb) my meatloaf was better.
This is super high level grammar that most native speakers don't even know. So my advice for you is to remember the usage for "so", and use "that" for the rest of the situations...you will be correct 99.9% of the time!