The main thing is don't try to sleep longer than an hour, or instead of feeling refreshed you'll get sleep inertia and end up stumbling around in a fog afterward. This is the most common mistake: people think the longer you sleep, the better, but it's actually the opposite. If you sleep for 40-50 minutes, you risk falling into deep sleep phases, and waking up will be really hard.
The sweet spot is 15-20 minutes of a short nap - it quickly restores your focus, and you wake up in a light sleep phase. But here's what's interesting: some people need a bit more, like 30-40 minutes, to feel that real energy boost. It really depends a lot on how well-rested you are from nighttime sleep and how your sleep cycles are structured. If you sleep well at night, even 10-15 minutes in the middle of the day will help.
The main rule: try different lengths and see which duration makes you feel better afterward. Fall asleep at the same time, set an alarm, don't leave it to chance. And don't nap later than 6-8 hours before your nighttime sleep - otherwise you won't be able to fall asleep at night.