Switching back to wifi

I just got it working using the sim card on my RPI 3B+.

How do I go about switching back to wifi and back to the sim card?

Also is there any resources to better understand all the stuff I just did to get this working on my PI, as I was just kinda blindly following.

EDIT: Using the QMI connection

Thanks!