Can you survive shipwreck on a desert island?

You are the only survivor from the wreck of a cruise ship, which sank without warning during a severe tropical storm. You have managed to swim to shore on a desert island.
You managed to salvage several items from the ship:

1 Rescue flare
1 Pistol
3 Bullets

They may be useful to you.