Cats have fragile skulls. NO THUMPING ON THE HEAD!
Cats aren't pack animals so they don't really understand co-operation or obedience. Train with attraction (food, usually) and avoidance (make the thing that attracts them unattractive).
Be patient and don't encourage behaviour you won't enjoy in an adult cat.