My OB told me I could take both. He also suggested to take them during labour so it doesnt sting when you got to the toilet after the birth

ETA- You can get both from the chemist, they also have a book where they can look up the ingredients if you are unsure of any medication to tell you if it is safe or not