Deductions & credits

I read on a post that this was not reportable as it was not a second home, there was no capital gain. sorry Im confused because of the conflicting information I have read