# How many wizard spells can I cast? [duplicate]

We just started playing D&D we are huge noobs and have problems with the wizard. I'm a level 2 Wizard with 3 level 1 Spellslots. Now the rulebook says:

You prepare the list of wizard spells that are available for you to cast. To do so, choose a number of wizard spells from your spellbook equal to your Intelligence modifier + your wizard level (minimum of one spell).

Does that mean I can prepare for example Magic Missile 5 times? So I can cast it 5 times before the next rest? Or can I only cast it 3 times because I have only 3 level 1 spell slots??