How to connect the Magnetic Sensor with arduino for my Tachometer Project

I always use 339 in projects as I have ~100 days f them.