Pain during sex

Recently it's really hurt to have sex. When he goes deep its a throbbing pain at the front of my tummy around my knicker line, it's really worrying me it's been like that a month and I thought it was bruising and the pain would go? I suffer with cystitis and it can't be an STD, I've only slept with him. Please help?