is treated surgically when the baby is born. As you are 19 years old, you supposed to already had that intervention.
Discharge and foam from anus could indicate a gastrointestinal infection
, for which I would recommend to perform coproculture.
Another reason could be a malabsorption
of lipids; therefore you might run some tests for malabsorption.
Until the results are in, you can take probiotics to regulate the normal flora of the intestines.