What have you tried? There must be dozens of questions like this.
As Assa wrote, indeed, BiomaRt is easy to use. I see you tagged org.hs.eg.db which is also rather straightforward.
If you show what you tried and what didn't work people can help you more specifically, you can't just ask for an entire explanation without showing some work from your own.