Hi ALISALEHI6
I am Dave, I will help you with this.
Please check the DVD case on the version of Windows you purchased, is that definitely the Enterprise edition of Windows, or is it Pro?
If that is the Enterprise edition, then that is not a legal licence, it is a volume licence, and when you upgraded to Windows 11, the licence was checked and marked as invalid.
If that was an Enterprise licence you purchased, you should contact the seller and ask them for the genuine licence, that you paid for.