Nap time help

I have a 5 month old son who sleeps great through the night. But he’s naps can last about 20 minutes to 2 hours. I’m a stay at home mom and have been working on a nap time routine. Any tips or advice?

He sleeps the best when being held but the second I put him down for a nap in his crib or pack n play he wakes right up. Other times I can lay him on blanket on the floor and we will sleep for hours. It’s random and varies during then day.