when someone thinks about a question and try to figure it out, 思考 = 考虑
for example, 请你思考一下这个问题 = 请你考虑一下这个问题
考虑 has another meaning: consider about an advice
for example, 请你考虑一下我的建议 here u cant use 思考
琢磨 means to study but this is informal.
for example, when he was a child, he liked to 琢磨一些电器