Problem with basic IK on the arms

Hello, I’m trying to add a rig to the model I’m creating, but every time I run into a problem with the arms. They stretch weirdly and get messed up. In a video, they mentioned that I need to correctly set the Primary Axis and Secondary Axis, but I still don’t understand how to set values like 1, 0, or -1. How can I fix this?