If you lose track of your position while taxiing, stop the aircraft immediately and inform
Ground Control. Say "F-ABCD, unsure of position, request guidance." This is professional airmanship, not a failure. Controllers expect this to happen occasionally, particularly at complex aerodromes. The controller will provide directions based on your last known position, radar location, or will ask you to describe what you see (a hangar, a building, other aircraft nearby). Stopping to confirm your position is far safer than continuing when uncertain.