There are several ways that you can prevent developing blisters from friction, sunburn or chemicals. Blisters that are caused by a medical condition often can't be prevented, so the cause will need to be treated by a GP.
Friction
Wearing comfortable, well-fitting shoes and clean socks will help you avoid getting blisters on your feet. Blisters are more likely to develop on moist skin. If you have sweaty feet, wearing moisture-absorbing socks or changing your socks twice a day can help to prevent blisters.
If you regularly exercise or play sport, wearing special sports socks, or thicker wool socks, can help keep your feet dry and reduce your risk of getting a blister.
If you're going for a long walk, wear shoes that fit properly, are comfortable and that you have worn before. Brand new shoes that aren't broken in may not be comfortable and could rub. If you feel a hot area on your foot while walking, exercising or playing sport, you should stop immediately. If possible, tape some padding over the area.
Wearing protective gloves when using tools, e.g. a shovel or pickaxe, and when doing manual work, such as gardening, will help prevent blisters developing on your hands.
Heat and sunburn
Be careful when dealing with heat such as steam, flames or boiling water. Make sure you use the right safety equipment in working environments that involve heat or chemicals.
Objects that get very hot, such as a stove or a kettle, should also be treated with care to avoid getting blisters that are caused by burn or scalds.
While you're out in the sun make sure that you use sunscreen. Cover your skin with clothing, including wearing a hat, in order to avoid getting blisters from sunburn. Moisturiser, aftersun or calamine lotion can ease the discomfort if you do get sunburnt.
Chemicals
Wear protective gloves when handling detergents, cleaning products, solvents and other chemicals. Avoid any unnecessary contact with chemicals, and be careful when dealing with them.