The stomach issues are definitely due to the hydrocodone use. Try not to use a pain killer as a mood elevator since that's not what it's prescribed for. These sorts of drugs can lead to harder drugs, including prescriptions. I broke my femur a few years back and received 90 percocet for a month and knew how the pills would affect me. Since addiction runs in my family I knew that I would need to have a routine and a schedule for weaning off. I started out with a 8 a day then a couple weeks later I lowered it to 6, 4, and finally 2. After the pain had subsided I chose to find more holistic ways of dealing with pain and started to become physically active. I hope you're able to find a better alternative for your sleep issues, mood, and pain. I'm sure there are several holistic ways to help with your sleep habits.