Does IBS ever affect people sex life?

If so how does it and how do you get around it? Want to know if I’m the only one who gets stressed by it