It seems you have a worm infestation, from your description it seem to be a whip worm.
The infection may be from ingested eggs from food stuffs like grains, rice beans etc. and commonly seen in warm climates. wash the products thorughly and cook well before consuming it.
Pet animals can also have whip worm infestation and form a source of infection.
You need to get deworming done.
You can have Mebendazole
Do a blood work up to study your Hemoglobin
level since these worm infestiation may cause anemia
Consult your physician for further opinion