As per apnaqanoon,Whereas, the ambit of Section 21 is of offences of harassment or cyber stalking. This includes spying, sending repetitive text messages, or circulation of a photo or video without the other person’s consent. The punishment for the offence under S. 21 of PECA, 16 is 3-5 years of imprisonment, fine of 10 million or both according to law/qanoon.
What Is The Punishment For Online Harassment in Pakistan As Per LAW(QANOON)

Creative abstract cyber crime, online piracy and internet web hacking concept: 3D render illustration of the macro view of metal handcuffs and wooden judge mallet, gavel or hammer on laptop notebook computer keyboard with selective focus effect