On top

Okay ladies I love making the hubby feel good which means me being on top when we are having sex but after 30sec of being on top my legs start to hurt what can I do?