Sex felt weird..

So I'm in a LDR with my SO and it had been a month since we last had sex. Last night we did it and after a while it was not burning, but just hurting a little. The pain wasn't bad it was just dull. Could it be a yeast infection? Or just my vagina getting used to it again?