pain in lower abdomen during sex

When my boyfriend and I had sex last night there was a very sharp pain like an air bubble in my lower abdomen. Has this ever happened to you? If so what should I do? I feel very bloated lately