What is it precipitating out of?
If you have a non-polar solvent, then you have probably gone from a neutral compound to a charged compound - consider possible basic functional groups.
If it is water, then you have probably gone from a charged compound to a neutral compound - consider possible organic salts. Actually, there aren't many types of organic salts with only C, H, O, and N as elements - I can only think of ammonium salts of carboxylic acids.
If it is a polar solvent that is not water, then it is hard to predict even the type of compound without more information.