Although one should not prepare on Shabbat for events that take place after Shabbat, taking a nap this Shabbat is permissible since it will provide the energy and stamina to study Torah on the night of Shavuot, this coming Saturday night.