prevent users using the network to transfer files

Hi!
I have a Mikrotik server cloud and many users connected using wireless APs on the server to use the internet, using hotspot.
the problem is the performance of the network sometimes get down and I think it is because the users are using the network to play games or transfer files.
how to prevent the users from transferring files or playing games through the network and letting them just use it as an internet connection

thanks

U can disable FTP 21 port
disable default forward on wlan
disable file and print sharing ports 137, 138, 139 and 445
etc etc

THANKS FOR REPLY
but what is etc etc
and id I disable the FTP port would it affect the download from the internet or not?

here’s what i would do

ip firewall filter add chain=forward action=drop src-address=192.168.x.x protocol=tcp connection-bytes=504857-0
ip firewall filter add chain=forward action=drop src-address=192.168.x.x protocol=udp connection-bytes=504857-0
ip firewall filter add chain=forward action=drop dst-address=192.168.x.x protocol=tcp connection-bytes=504857-0
ip firewall filter add chain=forward action=drop dst-address=192.168.x.x protocol=udp connection-bytes=504857-0

this will break any large file download and game