Your doctor will do an exam and ask about your symptoms and health history. Keep a diary so you'll have the answers. Write down things like:
How often and what time your bed-wetting happens
How much urine comes out (a lot or a little)
What and how much you drank before bed
Any other symptoms you've had