Hand jobs

So i tried giving my boyfriend a hand job but I accidentally hurt him and then I tried it again and he said it felt good but I don’t know if he was being serious or not so can I please get any tips on how to actually do it so it can pleasure him