Your healthcare provider can usually diagnose it by examining your stool and finding whipworm eggs.
Understanding Parasitic Roundworm Diseases