Could you tell me what's the best way to exercise with weights?

Safely! You should never use free weights alone. You need a spotter. For beginners, i recommend machine, both isotonic and isokinetic. Once you have learned the ropes, graduate to barbells-safer alone, and then to free weights!