There are a number of  preventive measures you can take to avoid phlebitis and thrombophlebitis. Staying hydrated, eating a healthy diet, regular exercise, and quitting smoking can all help.