I have genital warts 😢

So I went to the doctor and she said I have genital warts.. she didn’t even give me medicine or any creams she said they will go away on there own is this true please help