This is probably caused by the building itself. To get a position with GPS you need "line of sight" which means it only works well outdoors. Just being near a window will maybe work but is slow. Can you get a position with Wifi?
probabily the problem is that your inside a building. Try moving next to a window.
Another option is to search the forum about libraries that allow you to find the location based on other sources, not necessarily the GPS.
This is probably caused by the building itself. To get a position with GPS you need "line of sight" which means it only works well outdoors. Just being near a window will maybe work but is slow. Can you get a position with Wifi?