There are several apps available to assist you with your referencing. Some are free whilst others are paid apps. RefMe is a free app available for both Android and Apple devices. Microsoft Word also has a referencing tab that you can use to add your sources.
There are several commercial brands of software that are also available but they are really aimed at researchers who are collecting huge numbers of sources for a research project.
With all of the software and the apps available you still need to understand what your reference should look like to avoid mistakes. The apps and software (including microsoft word) only give the correct reference if the information is entered correctly. There is no magic potion for referencing!