I went to the barber shop and had a haircut yesterday.
补充:按你给的两个空,可以这样来回答
Yesterday I went to the hair (dresser's) and got a (haircut).
I went to the hair salon and had my hair cut yesterday.
结构:
sb did sth+过去时间
sb has/had+done
Yesterday I went to the barbershop and had my hair cut.