How to upload WIFIS3.h for my arduino R4 WIFI

im looking in the libary manager but there is no WIFIS3

It's not a separate library, it's part of the board package, so it's "built-in". With the R4 selected as the current board, in the IDE menu, under File > Examples, there are three sections. The second should be "Examples for Arduino UNO R4 WiFi", and the last of those is "WiFiS3". If you pick "WiFiWebClient" for example, that should compile OK. (You'll need to add WiFi credentials for it to actually work.)

If it doesn't compile, post the entire error you get here as <CODE/>