Barnabas and Paul are rebuking the people for trying to sacrifice to them. Alternate translation: "Men, you must not do these things!" (See: [[rc://en/ta/man/jit/figs-rquestion]])
Here "turn from ... to" is a metaphor meaning to stop doing one thing and start doing something else. Alternate translation: "stop worshiping these false gods that cannot help you, and instead begin to worship the living God" (See: [[rc://en/ta/man/jit/figs-metaphor]])