Feeling like peeing during sex

Jackie
When i have sex I have this really intense feeling like I have to pee. If I relax I'm scared that I might actually pee or worst fart. In certain positions the feeling get so bad that i actually have to stop. Can anybody help??