The protein is amde up of amino acids. The order these amino acids are in make up the primary structure. Each protein is made up of the same primary structure. This primary strucutre is unique to each different protein so each have there own shape.
The secondary struture and tertiary structure are also importnat, these are determined by the way the hydrogen bonds are arranged, however these hydrogen bonnds are dtermined by the primary structure..