If you are playing D&D find a copy of the player's handbook. There is the spell lists and the information on how many and what spells you can cast in there.
As far as PnP D&D there is a chart of the spells you can prepare and cast per day.
Each day, you can pray for any spell you want form the cleric spell list.