Yes, male doctor is going to examine you, you have to be naked completely. The doctor will really really examine everything, even in private parts of yours, but it's their job and you don't have to be scare. I know it sounds like uncomfortable but it will only takes about 10-15 minutes after that, you are free.
Remember, its a doctor and they ahve seen that thousand times so it's okey.