You can request to have the resident do the procedure.
Be firm. You are not obligated to let others do the procedure on you. However, please understand that this is how new doctors learn. This is how things are done in teaching hospitals. Going to a hospital without medical students and residents will allow you to avoid this situation.