Codeine phosphate can also be used to relieve pain and anxiety, although significantly more slowly than opioids. Some people may experience nausea or constipation when using codeine phosphate, so if you have these symptoms it's best to take it on a full stomach.