Both of these terms have many, many uses. Are you talking about sentences like "X is made from/out of Y"? In that case, we use "from" when the material has undergone a significant change and often is no longer recognizable, and "out of" (or simply "of") when you can still identify the original material.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.