Advice please!

My husband and I have been married for almost three years and sometimes he acts like all he thinks about is himself and we have a two year old and its like sometimes hes needs and his wants are more important and recently a friend has moved back and it feels like he would rather be hanging out with him then me and his son and also we have priorities that need to take care of and he acts like he is not worried about and just wants to fix his boy toys (four wheeler) he would rather spend money on it than what we actually need to be spending money on what do I do its really eating at me