As with most bruises, you should follow the RICE method, especially if swelling is involved. Rest, Ice, Compression and Elevation. Make sure to never aplly the ice directly to the skin.
If you have bruised your heel you should rest your foot, elevate it, ice it and stay off of it till the swelling is reduced. You can also try soaking your foot in a warm Epsom salt bath.