Climbing out of bed

So my son will be 2 next month and he now climbs out of his crib and playpen. He will climb out and refuse naps, I know he’s tired because he will climb on me and fall asleep he just wont nap in his crib. We have never had an issue with night until tonight, I have put him back in his bed I don’t know how many times, I know he’ll get tired eventually but oh my. What did you moms do to help with this, when will it end.? Very frustrating and I don’t know what else to do besides keep putting him back into his bed. Which happens for hours if I keep doing it.