Michelle,
If you are receiving spam invitations to join a Google Classroom, it is like any other spam. All you can do is block the sender.
Mark Loundy
Instructional Technology Specialist
Google Certified Educator
De Vargas Elementary School
Cupertino (Calif.) Union School District