Ghusl isn't required for making internal examination; however, it invalidates one's fasting. And Allah Knows Best.