Dipyridamole is primarily used to prevent blood clots in patients who have undergone heart valve replacement. It is also used in combination with other blood thinners like warfarin or aspirin to enhance its effectiveness in preventing thrombosis and embolism.