Riding tips!

During sex, whenever I’m on top my legs get tired and start to burn after like 30 seconds. Does this happen to any of you guys? If so do you have any tips for helping me last a little longer? I go to the gym daily so I don’t understand why my legs would be getting tired so fast