The basic advice is to use sunscreen, cool compresses, and a retinol cream helps. Do NOT use a hemorrhoid cream!
There's more here:
From the Mayo Clinic:
See your doctor if the swelling:
- Is severe and persistent
- Is accompanied by redness, itching or pain
- Affects other parts of your body, such as your leg