Condom question

I’m on the pill, but sometimes when my boyfriend and I are having sex and it lasts for a long time the condom will start to slip down and we just slid it back up and he checks it and everything after he finishes. Is this okay?