It's important to give yourself rules. When you go out with friends, decide how many times you will look at your phone maybe only two or three times in an evening. Ask your friends about how they feel. If they have the same problem as you, put all of your phones together, in a pile and out of the way. That way, no one can look at their phone and you can all enjoy each other's company.