a primary source is a document that is written in the time but a secondary source is sources like a textbook.
The way I remember is a primary source is a thing that was written or done at the time. PRIME-in latin it means 1st
Secondary sources are SECOND and not in the time.