Sidebar Stuck To First Post, Not Top Of Page

I seem to have fixed this issue by calling <?php get_sidebar(); ?> before the loop as opposed to after which seems to have fixed the issue. Not sure if this is technically the correct way to do things however this seems to have fixed my issue.