switching scenes with trigger,How to make a trigger which will switch scenes

Hello there, I am a beginner in unity and started with making a 2d rpg game. I want that when my person goes to a house something would be triggered and i would switch to a scene where the player is inside the house. Would someone help me setting up this code.,

this question has been answered here how to switch between scene - Questions & Answers - Unity Discussions I hope this was of help to you

This works for modern versions of Unity.