If the belt hasn't broken, loosen the alternator bolt, and push the alternator in to allow you to refit the belt, then pull alternator out to tension the belt but not tooo tight and just tighten up the bolt.
If your belt came off your alternator is probably allready loose and just needs to be adjusted and tightened as above.