How do I remove a 3-way switch?
You will have to trace the wires.
You can look at How exactly does a 3-way switch work?.
You should replace the remaining 3 way with a regular single switch and wire it normally to the light fixture.