Depends on waht you're looking for. You could read him for logic, phil. of mathematics or phil. of language.
I am starting out in analytic philosophy
Because of this I'll assume it's the latter. I recommend getting context on two things. 1) Read up on criticism of psychologism. This should give you an idea what Frege aims at. It should also give you possible approaches to the relation between Husserl and Frege, where they diverge etc. 2) Get an overview of Ideal Language Philosophy.
For phil. of language you'll have to read at least Sense and Reference and The Thought.
As for Dummett's stuff, some consider it misleading if you want an accurate historical representation. But it can stand on its own.
Relevant SEP articles you might want to check:
https://plato.stanford.edu/entries/frege
https://plato.stanford.edu/entries/psychologism/#FreAntArg
https://plato.stanford.edu/entries/reference/