Use a reference manager
Manually collecting the information you need to create correct references can be a lot of work. There are tools available, called reference managers, to make this easier.
Related.
Suggested.
Citing information: Use a reference manager