Depends on what the impurities are. Are they more polar or less polar than your target compound?
You need something that will dissolve the impurities but not the product, or vice versa. This involves trial and error - without structural information I can't say which solvent I would try first.