Upvote:2
If your residence permit says "Aufenthaltskarte fΓΌr FamilienangehΓΆrige eines UnionsbΓΌrgers" then you can travel without a visa as long as your wife accompanies you or is already in the UK when you enter.
Otherwise, you should apply for an EEA family permit. This also has the condition that your wife accompany you or precede you to the UK.
To visit the UK without your wife, for most purposes, you would need a standard visitor visa.