The nearest metro stations are Lepanto and Ottaviano, both of which are just a 15-minute walk to the landmark.  Alternatively, you can take the bus and get down at P.za Pia/Castel S. Angelo bus stop and walk to Castel Sant’Angelo.