Run a webserver on the RPi you want to control.
Run Mosquitto on the RPi you want to control.
It depends on what you mean by "how do i control one raspberry pi from another".
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Criticising any questions is banned on this forum.
Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.