If someone has transferred money to a wrong UPI ID, the first thing to do is to report the transaction to the customer care of Paytm, Google Pay, and PhonePe. One can also register complaint on NPCI portal through Dispute Redressal Mechanism tab.