The information you have provided is sparse.
In general on your mikrotik you generate a private key and public key (“######” ) when creating the wireguard interface and lets say create an address like 10.20.30.1/24 with listening port of 51280. The public key is for use on the peer or remote device, and you put it on the peer settings at the remote device which identifies the router.
Typically something like: allowed-IPs=0.0.0.0/0 Endpoint-address=mynetname.net ( ip cloud name of router or similar )
Endpoint port=51280
keep-alive=35s
public-key=+“######”
Similarly on the peer remote device, a public key will be generated. this key is for use on the router, on the routers peer settings which identify the remote device.
typically something like. add allowed-addresses=10.20.30.2/32 interface=wireguard-home public-key=“+++++” comment=“remote laptop”
where public-key=“+++++” was generated on the remote peer device.