So annoyed with my toddler.

Im 38 weeks pregnant. Been having on and off contractions for 3 days. 2 cm dilated last week and my 15 month old keeps trying to climb all over me , she kneed me a few good times in my stomach causing me pain and im getting so frustrated with her because she is hurting me and i dont want her to cause any problems with my pregnancy that i keep yelling at her and taking it out on her when she is just trying to be a toddler. Its not fair to her but this is super fuxking frustrating that i have to deal with her when im going through all this. Wtf can i do to keep us all happy !!!!