running like crap

i had put about a half tank of gas in it like 3 days before i yanked ther rear out of it it wont rev over 5k and its very slugish the whole time and just before i tore it down it run really good