The solution for one time is easy, just stop sitting cross legged.
Might take pain-killer too; to begin with that, if perhaps resting will do to soothe pain. Joint and muscle pain is something that almost everyone experiences. https://all4Webs.com/cbdoil113/home.htm?20398=906