That looks like a prolapse. You can soak it in warm sugar water to encourage the swelling down and get it to shrink, if it does not go in at all, then you will have to keep it moist (vasaline maybe?) and get him to a vet immediately so that the flesh does not dry out and die.

http://www.anapsid.org/prolapse.html