How to ease leg cramps

I just had sex for the first time, and my boyfriend wants to do it again tomorrow. However, I'm not a flexible person and we went pretty rough so I currently have terrible cramping in my legs. Is there a way to prevent this in the future? I know a quick fix is to just take ibuprofen but I'd like to avoid this problem because it feels like the worst jet lag ever