Si iba a la peluquería, me gastaba mucho dinero.
If I went to the hairdresser, I spent a lot of money.
Sorry but I can't make any sense out of the use of English in this example.
"When I went to the hairdresser, I spent a lot of money" No problem
"If I had been to the hairdresser, I would have spent a lort of money" OK
"If I were to go to the hairdresser, I would spend a lot of money"
"If I go to the hairdresser, I shall spend a lot of money"
The example: If I went to the hairdreser, I spent a lot of money" is not good English.
Hope this can be of help.
Ian B