To remind you when to use the or a/an remember that:
the belongs to the group of "th" words – this/these, that/those – and refers to a particular or definite person, place or thing.
a/an belongs to the words meaning "one" and means an example of one of something.