Yes, lots of lube and foreplay. Friction burns aren't so nice.
Also it might be a Urinary Tract Infection. Or a STI.
UTIs can be exceedingly uncomfortable, and loss of bladder control is an unfortunate side affect.
If the lube and foreplay don't work, definitely see a doctor about it.