Dipyridamole is a medication primarily used to prevent blood clots after heart valve surgery and to prevent stroke in individuals at risk.