How does magnetic stirring work?
https://www.thevespiary.org/rhodium/Rhodium/chemistry/equipment/magstirrer.html (https://www.thevespiary.org/rhodium/Rhodium/chemistry/equipment/magstirrer.html)
Can you use any flask and put it on the magnetic stirrer or must it be a certain type?
Any glass flask can be used.
What happens if in your reaction solids form, is magnetic stirring ok for those too?
Yes, unless the solids make the solution really thick. How thick the solution can be depends on how strong the magnet in your stirrer is.