You can take Trams 28 or 12 to reach Sao Jorge Castle. Tram 28 is the more popular choice, as it passes through various hotspots in Lisbon before reaching Sao Jorge Castle. It starts from Martim Moniz and goes through the Graça neighborhood on top of a hill.