My transmission took a dump today

U have to jiggle the shifter and eventually if u get it just right it will go into 3rd gear but one u slow down it goes right back to a lower gear. Not sure if its first or second.