Spell Slots
Prepared Spells
Each prepared spell is expended after a single casting, so if you want to cast a particular spell more than once in a day, you need to prepare that spell multiple times. The exception to this rule is for spells with the cantrip trait; once you prepare a cantrip, you can cast it as many times as you want until the next time you prepare spells. See the Cantrips page for more information on cantrips.
You might gain an ability that allows you to swap prepared spells or perform other aspects of preparing spells at different times throughout the day, but only your daily preparation counts for the purpose of effects that last until the next time you prepare spells.
Spontaneous Spells
Heightened Spells
In addition, many spells have additional specific benefits when they are heightened, such as increased damage. These extra benefits are described at the end of the spell's stat block. Some heightened entries specify one or more ranks at which the spell must be prepared or cast to gain these extra advantages. Each of these heightened entries states specifically which aspects of the spell change at the given rank. Read the heightened entry only for the spell rank you're using or preparing; if its benefits are meant to include any of the effects of a lower-rank heightened entry, those benefits will be included in the entry.
Other heightened entries give a number after a plus sign, indicating that heightening grants extra advantages over multiple ranks. The listed effect applies for every increment of ranks by which the spell is heightened above its lowest spell rank, and the benefit is cumulative. For example, slice reality says “Heightened (+1) The damage increases by 1d8.” Because slice reality deals 7d8 void damage at 6th rank, a 7th-rank slice reality would deal 8d8 void damage, an 8th-rank spell would deal 9d8 void damage, and so on.
Heightened Spontaneous Spells
Many spontaneous spellcasting classes provide abilities like the signature spells class feature, which allows you to cast a limited number of spells as heightened versions even if you know the spell at only a single rank.
As a spontaneous caster, you can also choose to cast a lower-rank spell using a higher-rank spell slot without heightening it or knowing it at a higher rank. This casts the spell at the rank you know the spell, not the rank of the higher slot. The spell doesn't have any heightened effects, so it's usually not a very efficient use of your magic outside of highly specific circumstances. For instance, if your party was having trouble with an invisible enemy, and you had revealing light in your repertoire but had already spent all of your 2nd-rank spell slots, it might be worth it to use a 3rd-rank spell slot to cast the spell, even though it'd have no heightened benefit.