figure out if its popcorn, knock down(joint compound) or whatever, practice on cardbaord, till you can match the texture and blend it in on actual ceiling
you probally going to have to paint the whole ceiling when your done to make repair invisable, or at least thats what i recomend