|Meaning:||thanks to, because of|
kusuri no okage de genki ni natta.
medicine-(possessive marker)-thanks to-healthy-became
Thanks to the medicine, I have recovered.
|おかげ can have a positive or negative meaning. You can tell by the context.
おかげさまで is a set phrase meaning “thanks to you.” and is often used to show gratitude for help or concern.