Osmotic pressure is caused by water being in different concentrations across a semipermiable membrane. Oncotic pressure is the portion of that pressure caused only by proteins (mostly albumin if we're talking about blood).
For example, albumin causes an increase in oncotic pressure, resulting in water movement from ISF -> ECF, and a resultant increase in osmotic pressure.