Take a broom and tie her up and everyday/time you tie the heifer up rub it up and down her legs for about 10 min. She mite kick a few times but keep going. If she is yelling and kicking stop rubbing her go up to the heifer talk to her and pet her. Remember dont beat unless you have to. Do that as often as you can you should see results in 2-3 weeks. Sometimes they kick because they dont know your coming so before you walk up to her make a noise are yell hoe or hay. To let her know your there and not going to hurt her. Always turn your butt to her it does not hurt as bad if she kicks you in the butt as it would in the knee or leg. Be gentle and after 3-4 weeks if she is still kicking tie her head up high high and slap her a few good ones then leave her alone for 15 min. then come back and try again. This usally works for me. Then after she knows not to kick every time she does it hit her so she wont do it again. If the animal does a bad thing you want that to be a bad experience so she does not do it again. Good things good experiences. If she is she doing this after a month are so PM me and tell me what is going on with her I can maybe try and help you out some more. Hope this helps!!!!
HAve a good one!!