1. Make sure it isnt something other than a ghost(i.e. something falling)
2. Record what you see and hear
3. See if anyone hears the same thing as you(unless your home alone)
4. Be confident and dont be fearful because ghost sense fear
5. Pray or perform an exorsism( if this is part of your religion)
6. After the ghost leaves, clean up.( like literally mops the floors and stuff. it keeps the ghosts out)
Good Luck ! :]