1- Eat less
2- Change the food/diet and avoid sugary foods or high calorie foods (or foods like mangos and dates)
3- Exercise and keep yourself as busy as you can
4- Avoid seeing women as much as possible
5- Do wudhu every time you get the urge
6- Try not to spend time alone (for example, do your work in your living room not in your private room)
7- Smell camphor