Here are a few videos showing techniques for improving shoulder flexibility. Use your discretion, keeping safety in mind first and foremost. Be aware of your own limitations, and if something doesn't feel right, you probably shouldn't be doing it.
The guy in the video below often hyperextends at his elbow joint. My recommendation to you is to keep a slight bend throughout, never locking out the joint.