How to consolidate naps?

I'd like to consolidate my daughters 3 naps a day into 2. Sometimes she does it on her own, but other days she spends 2 hours sleeping and then waking 10 mins later and then sleeping and then waking. Any advice?