PS2 remote connection problems

I am trying to connect sony wireless ps2 dual shock remote to arduino but it is not getting connected and even if it connects it gets disconnected anytime,sometimes it shows glitches in connection. please help with the problem......