It is completely normal for your hamster to be nervious/afraid around you! I got mine like 2 weeks ago and he's still getting used to me. Since I usually feed him by hand from time to time, he now smells me and sometimes tries to gently bite me. I know when he'll do that because he starts moving his nose and smelling my fingers differently, so I carefully remove my hand when that happens. Although he bit me kinda hard last week
it's normal since he may think we will attack them.
He'll get used to you, but it'll take some time and a lot of attempts from you. I had to give him a lot of treats and now he's being more comfortable with me each time. I thought he would never as he is really shy and nervious but we are getting there! So just be patient and go with his flow, he'll eventually trust you.