Help!!!

For the past week or so hubby has been telling me his penis hurts when he pulls back his skin, we bought him a moisturizer and new lube and we were hold back on sex for a couple of days. Last night we had sex, he used lube on his penis so it wouldn't hurt and it kind of worked but this morning he woke up saying it hurts even worse. I feel bad, I don't know if I did something wrong or what's going on but it's scarring me. Has anyone's so every been through this and if yes how did he make it better??