Dear Jessica, It sounds like both to me. When I get nervous, I can actually see my stomach spasm. The librax that I take helps a little but it still happens. I guess just another symptom of IBS to add to the list. Geez, how much longer can the list get. Take care, Loretta