You only need a visa if you're coming from a country outside the European Union (EU). You can apply for it at the German embassy or consulate in your home country. If you have a job offer or family in Germany, make sure to mention it – this can make getting a visa easier.
Tip
The website of the Federal Foreign Office offers helpful information for your trip, including a list of German missions abroad.