If you catch her in the act, grab her and put her on the mat. Every time she pees or poos somewhere besides the pad, take her and push her nose by the spot and give her a light spank, then set her on the mat. Reward her with treats when she ends up using it. Eventually she'll get the message.