Do you let your baby sleep as long as they want during nap time?

Or do you wake them up after a certain amount of time?

My 6 month old sleeps 30-45 minutes most of the time, but the odd time I have to wake him up after 2 hours...

Should I be doing this? Or should I just let him sleep?