Cipro is basically a synthetic antibiotic manufactured and sold by Bayer Pharmaceutical and belongs to a group called fluoroquinolones. It is bactericidal and its mode of action depends on blocking bacterial DNA replication by binding itself to an enzyme called DNA gyrase, which causes double-stranded breaks in the bacterial chromosome. It is basically a broad spectrum Antibiotic and can be used for all kinds of infections including a stomach infection. But you must not use it without a doctor's recommendation.
It is used for specific bacterial infection, used as 3rd stage with a many side affects. Avoid self-medication, consult your Doctor.