Demi Lovato has written a message to her fans following her hospitalisation last month.

Back in July, police were called to the singer’s Hollywood Hills home where she was reportedly found unconscious, and treated on the scene with naloxene.

Naloxene is an antidote to opioids, which led many media outlets to believe the star had overdosed.

After a few weeks of recovery, Demi has now taken to Instagram to address the incident, as well as thank her family, friends and fans for all their continued support.

“I have always been transparent about my journey with addiction,” she said.

“What I’ve learned is that this illness is not something that disappears or fades with time.

“It is something I must continue to overcome and have not done yet. I want to thank God for keeping me alive and well.”

She added: “To my fans, I am forever grateful for all of your love and support throughout this past week and beyond.

A post shared by Demi Lovato (@ddlovato) on

“Your positive thoughts and prayers have helped me navigate through this difficult time. I want to thank my family, my team and the staff at Cedars-Sinai who have been by my side this entire time.

“Without them I wouldn’t be here writing this letter to all of you. I now need time to heal and focus on my sobriety and road to recovery.

“The love you have all shown me will never be forgotten and I look forward to the day where I can say I came out on the other side. I will keep fighting.”

Demi has been vocal about her battles with substance abuse over the years, and back in June released new single Sober which revealed she had relapsed after six years of sobriety.

“Mommy, I’m so sorry I’m not sober anymore. And daddy please forgive me for the drinks spilled on the floor,” she sings on the track.

It finishes with: “I’m sorry that I’m here again, I promise I’ll get help/It wasn’t my intention, I’m sorry to myself.”

There was an outpouring of support for Demi on social media following the news of her hospitalisation, including well-wishes from the likes of Ariana Grande, Ellen DeGeneres and Lady Gaga.