Pelvic pain on right side !

Has anyone ever felt this? It hurts and even hurt during intercourse . AF is due in about 6 days.

It's a sharp feeling started feeling it about 10 hours ago. It came and left but is back again now. Also bloated if that help 😕?

Gas?