How do I know if I have ibs, or something else?

See your doctor. Or a GI specialist for a full GI workup. Ibs is a diagnosis of exclusion after more serious problems are ruled out as a cause of your symptoms.