If you have favorited the photo by mistake, you can remove it from your favorites by opening the same photo and clicking on “remove from favorites” in the bottom left side. The photo will be automatically removed from your favourites.