Delete the faces that look weird then just replace them, but in a different order, such as the one in my post
When it comes to quads (assuming that's what you're working with), they're made up of two triangular faces, and occasionally, their ordering can look a bit screwy at times, so you'd have to manually fix them
There's only two ways to go about making a quad out of tris, and that's like this
or like this
, so if one doesn't work out, try the other