Hello
You can take your capsules now, but they probably will induce labour. This is why it isn't advised to take them during pregnancy as they can bring on labour. As you're experiencing pre-labour signs and are 39 weeks it would be OK to take them at this point if you felt comfortable with it and realise it may kick things off!
Good luck with the birth.