Anecdotal evidence suggests that applying an ice pack or cold compress for a short duration can help reduce swelling and pain associated with hemorrhoids.