How to avoid this

I’ve had braids in for 5 days now, I play a lot of sports and also ride a motorcycle and was looking for any tips to avoid this happening to me.