However, if your lower abdo pains are from poorly digested food and/or gas caused by an overabundance of stomach acid, then yes. Prilosec will reduce the acid and improve your digestion.
Your pain may be comming from your bowels and you think it's your stomach also. Have you had it checked? If you still have the pain with the prilosec you might consider seeing a GI Doc.