Question: what is the difference between an and auf?
Answer: "auf" and "an" are both used as prepositions after "gehen". Which of the two you use only depends on the object. Ich gehe auf die Party. Used instead of "an" which would be the wrong preposition for the object.