I resolved this issue with this code
function mymodule_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == "user_profile_form") {
$form['#submit'][] = 'mymodule_form_submit';
}
}
function mymodule_form_submit(&$form, &$form_state){
// Some code and access to values like $form_state['values']['fieldXXXX']);
}