How to proceed with network speed throttle in real devices

I am trying to automate network speed throttling for real devices.
Can someone please suggest any approach.