If you are only staying in Germany for six months or less, the only phone plan that makes sense is a prepaid plan. With a prepaid plan you need to put some money on your SIM card, which is taken off at the beginning of every monthly cycle. For example, when you start on the 12th of September, it will always renew itself on the 12th of every month (if there is sufficient money on your SIM card).