Can't fully retract flaps

As topic, can’t fully retract plane flaps once used them. They stay either landing or takeoff(and can alternate between that), can’t even make them to combat (only at first use they go to combat)