Take the DART to Malahide Station. The castle is a short walk from the station. Alternatively, you can take a bus or taxi.