please help....

i just went to replace my old kitchen sprayer hose on the sink, and when i follow the hose to the water main, where it connects to the water main, it doesn't screw on like a regular fitting. i broke off the plastic piece around it thinking it was just a casing and found it just an outlet

how do i replace??