Format phone number to add country code

I would like the solution for just adding the +1 to the contact phone number.