Now and again,
OK John. If this is bothersome for you you need to see a urologist. It sounds like you've developed a shortened frenulum problem and that's preventing the foreskin from being fully retractable. A frenulectomy is a very simple outpatient procedure that a urologist can perform and that will free up your foreskin.
Let me know if you need more information about this please