What do you mean by that? Do you mean that after you've set your wallpaper, then go to some other app and then return to the homescreen, the wallpaper has changed back to the previous one?
Try booting into Recovery and wiping the cache partition, which won't erase any personal data: Reset: Samsung Galaxy S 5 | T-Mobile Support