If you have no medical restrictions and experience pain during an exercise, it is often due to improper execution. You should first check whether your execution is clean.
Using the "exchange exercise" function, you can replace an exercise with an equivalent one at any time.
If you continue to experience pain or if your pain worsens, consult a doctor (orthopedist).