Absolutely,. Always consult with a medical professional before trying home remedies or unofficial treatments. It's better to be safe than sorry when it comes to health matters.
Just to add, if the soap you are talking about is medicated and prescribed by a healthcare professional, that's a different scenario. But over-the-counter soaps claiming to cure cancer should be regarded with skepticism.