Boyfriend masturbating

Few days ago I stayed at my boyfriends house. As I was falling asleep, my boyfriend got out of bed and stood beside me so he could see my naked body. He began to masturbate whilst thinking I was asleep. I didn't know what to do... Is this normal? Has anyone else had a situation like this? Haha.