Sex with boyfriend

ana

I have not seen my boyfriend in over two weeks yesterday I saw him and he wanted to have sex but I kind of was not in the mood to have sex. He got mad and then I caved in and had sex. My question is do you think I was in the wrong for not having sex with him on him?