feels like I have to pee during sex??

I stopped having sex because when I did he would go in and hit something that makes me feel like I have to pee with every stroke does this happen to anybody else ??? It's not really painful just uncomfortable what's going on?