Not Staying wet enough

Lately sex just hurts more, it's taking away from my pleasure. Any reason as to why I'm feeling more pain than usual? Or tips to stop it?