Changed fuel filter in my truc…

Changed fuel filter in my truck and oil in both trucks. My truck is starting to act up. Seems to be weak electrical. Battery and/or alt.