soreness?

so me and my bf had sex for 2 hours last night whewww. my legs were shaking a lot last night but they didnt hurt. today they are very sore to use the bathroom or even walk, its mostly my hips/ upper thighs. any tips on how to make it feel better ?