RICE Cures All
Listen to Dirty D, she's (thanks FC 22) not BS'n. I too have a bachelor's in Sports Medicine. The key to healing is R.I.C.E. which stands for Rest, Ice, Compression, and Elevation. It's all about bloodflow. When blood can't get to an injury (from swelling or muscle spasm) cells die and healing is slow.
Rest is obvious. Don't cause more damage by trying to jump back into the swing of things too soon. Let pain be your guide.
Ice is the best way to reduce swelling and stop the "pain-spasm cycle". DO NOT USE HEAT FOR AT LEAST 24 HOURS AFTER AN INJURY. After a few days, you can use heat, but it's best to use it in conjunction with ice. Ice for 10 minutes, heat for 5 minutes, and go back and forth for about an hour. It's important to ice every day while you are healing, especially after a workout. The dixie cup trick works great. You can also fill a ziploc bag with ice and water and wrap it in a damp towel.
Compression works by keeping swelling down to maintain bloodflow to the injury. A swollen leg means capilaries can't get blood to the injury to speed healing. This is what ACE bandages are for. Keep your quads lightly wrapped in a 4-inch or 6-inch ACE bandage. You want light pressure, but not constriction. It also helps to keep your muscles "warm" to reduce the risk of more injury.
Elevation is another key way to keep swelling down. Try putting a pillow under the foot of your bed to keep your legs slightly higher than your heart while you sleep. When laying around the house, keep your legs elevated.
Ibuprofin is excellent for speeding healing. Besides numbing the pain, it increases bloodflow to an injury.
Masage is an excellent way to help remove damaged tissue and fluids (edema) from an injury to speed healing. Always massage toward your heart so edema is pushed along the vein pathway.
Warm up before stretching and riding. Generally, you are warm enough to start stretching when there is a bead of sweat on your upper lip.
Well, that's five some-odd years of exercise physiology in a nutshell. I hope it helps