You can take a local train to Sintra. Tickets are only €2.25 and the journey is around 40 minutes. From the train station, you can walk to the Quinta da Regaleira or take bus N375.