How often should you put ice on your knee for swelling?

As often as you like. Should keep in one position for no more than 20 minutes. This can be repeated as often as you like during the day.