Really painful sex

M.
For the past couple of months I've been having really painful sex and it really hurts during and after. It never used to hurt and even if it did it was never this bad, this pain in unbearable..
Is there any reason why it's hurting so much??