Would you like to learn German in Germany? Lots of institutes offer language classes at various levels during the day or in the evenings. Well-known are the Goethe Institute and the Volkshochschule (VHS, for short), which you find in nearly every city.
You normally have to pay for language classes at a language school. In certain circumstances, for example, if you are a recognized refugee, then the city will cover most of the costs of the class. You can visit a so-called Integrationskurs (integration course) and only have to pay very little. At the end of the course, you must sit and pass a test. Then you may apply for a job in Germany.
If you like learning online, there are lots of good resources available on the internet for learning German, from individual materials to real language courses.