When you use Vancouver style
Vancouver is the referencing style of medicine. It was agreed by medical journal editors meeting in Vancouver in 1978, grew into the ICMJE recommendations, and today it is what most medical, nursing and biomedical courses mean when they say use numbered references.
The style has two rules that define it. First, sources are cited by number in order of first appearance, and each source keeps its number for the whole paper. Second, the references themselves are compressed: authors as surname plus initials with no periods between initials, journal titles abbreviated to their official NLM short forms, and minimal punctuation everywhere.
Those journal abbreviations are the part nobody memorizes. The New England Journal of Medicine becomes N Engl J Med, and there are thousands of these official short forms. This is exactly the kind of detail a generator should handle for you. Paste the DOI of the paper you are citing and the reference comes out with real metadata rather than guesswork.
The formats, with real examples
Paste your source into the tool above and it fills these in for you. If you would rather see the pattern, here is exactly what each one looks like.
In-text citations
The first source you cite is (1), the second is (2), and each keeps its number every time it reappears. Superscript numbers are also common; pick whichever your department or target journal uses and stay consistent.