Weird pain during sex

While having sex I noticed a lot of pain on my right side I have a history of cysts so I’m not sure if that’s what it could be ? I’ve never had this type of pain before