A ward is really a type of spell that is fairly solid, static, and hopefully long lasting. It’s sort of like a forcefield around your stuff. It’s purpose is protection.
A spell is a pretty broad term for a magical working for a specific result. Whatever that purpose is will determine the type of spell one casts.